fix[vepu510]: Fix compile warning

Change-Id: I4679fd0f58dd5eb9deea9b5cd3e080316197fbb0
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
This commit is contained in:
Yanjun Liao 2024-02-27 17:54:09 +08:00 committed by Herman Chen
parent de8fd84dfd
commit bbce74ebc5

View file

@ -628,8 +628,7 @@ static void setup_vepu510_normal(HalVepu510RegSet *regs)
hal_h264e_dbg_func("leave\n");
}
static MPP_RET setup_vepu510_prep(HalVepu510RegSet *regs, MppEncPrepCfg *prep,
HalEncTask *task)
static MPP_RET setup_vepu510_prep(HalVepu510RegSet *regs, MppEncPrepCfg *prep)
{
VepuFmtCfg cfg;
MppFrameFormat fmt = prep->format;
@ -1891,7 +1890,7 @@ static MPP_RET hal_h264e_vepu510_gen_regs(void *hal, HalEncTask *task)
memset(regs, 0, sizeof(*regs));
setup_vepu510_normal(regs);
ret = setup_vepu510_prep(regs, &ctx->cfg->prep, task);
ret = setup_vepu510_prep(regs, &ctx->cfg->prep);
if (ret)
return ret;