[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:
Herman Chen
2022-07-11 15:46:37 +08:00
parent cb5a139696
commit c409759389

View File

@@ -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);
/* update output to MppEnc */
type = (vcodec_type & VPU_CLIENT_VEPU2_JPEG) ?
type = (vcodec_type & HAVE_VEPU2_JPEG) ?
VPU_CLIENT_VEPU2_JPEG : VPU_CLIENT_VEPU2;
cfg->type = type;