mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 03:10:39 +01:00
chore[astyle]: Format code by new astyle config
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: Iafdb694219ad9d0407e622ba13fd729b935a2dad
This commit is contained in:
parent
ef11356680
commit
17a370d2d0
5 changed files with 9 additions and 8 deletions
|
|
@ -548,7 +548,7 @@ KMPP_OBJ_ENTRY_TABLE(KMPP_OBJ_NAME, KMPP_OBJ_EXPORT, KMPP_OBJ_EXPORT,
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
KMPP_OBJ_FUNC_IOCTL(KMPP_OBJ_NAME, IOCTL_CTX, IOCTL_IN_, IOCTL_OUT, IOCTL_IO_)
|
||||
KMPP_OBJ_FUNC_IOCTL(KMPP_OBJ_NAME, IOCTL_CTX, IOCTL_IN_, IOCTL_OUT, IOCTL_IO_)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1465,9 +1465,11 @@ rk_s32 kmpp_obj_set_ptr(KmppObj obj, const char *name, void* val)
|
|||
ret = kmpp_obj_impl_set_ptr(tbl, impl->entry, val);
|
||||
}
|
||||
}
|
||||
|
||||
if (ret)
|
||||
mpp_loge("obj %s set %s ptr failed ret %d\n",
|
||||
impl ? impl->def ? impl->def->name : NULL : NULL, name, ret);
|
||||
(impl && impl->def && impl->def->name) ? impl->def->name : NULL, name, ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
@ -1491,7 +1493,8 @@ rk_s32 kmpp_obj_get_ptr(KmppObj obj, const char *name, void **val)
|
|||
|
||||
if (ret)
|
||||
mpp_loge("obj %s get %s ptr failed ret %d\n",
|
||||
impl ? impl->def ? impl->def->name : NULL : NULL, name, ret);
|
||||
(impl && impl->def && impl->def->name) ? impl->def->name : NULL, name, ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue