mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
fix[vepu510]: Fix compile warning
Change-Id: I4679fd0f58dd5eb9deea9b5cd3e080316197fbb0 Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
This commit is contained in:
parent
de8fd84dfd
commit
bbce74ebc5
1 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue