mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 17:46:50 +08:00
[hal_jpege]: Fix client type check error
Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Change-Id: Icf083adbe58502f6d576efa83817c1fad38ac219
This commit is contained in:
@@ -68,7 +68,7 @@ MPP_RET hal_jpege_vepu2_init(void *hal, MppEncHalCfg *cfg)
|
|||||||
hal_jpege_dbg_func("enter hal %p cfg %p\n", hal, cfg);
|
hal_jpege_dbg_func("enter hal %p cfg %p\n", hal, cfg);
|
||||||
|
|
||||||
/* update output to MppEnc */
|
/* update output to MppEnc */
|
||||||
type = (vcodec_type & VPU_CLIENT_VEPU2_JPEG) ?
|
type = (vcodec_type & HAVE_VEPU2_JPEG) ?
|
||||||
VPU_CLIENT_VEPU2_JPEG : VPU_CLIENT_VEPU2;
|
VPU_CLIENT_VEPU2_JPEG : VPU_CLIENT_VEPU2;
|
||||||
|
|
||||||
cfg->type = type;
|
cfg->type = type;
|
||||||
|
Reference in New Issue
Block a user