fix[avs2d_vdpu383]: Fix declaring shadow local variables issue

Change-Id: I28a3b674714d71634af632f81e1d704f6e7d1037
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
This commit is contained in:
Hongjin Li
2024-04-02 09:59:06 +08:00
committed by Chandler Chen
parent 56f97b0844
commit af4a67b207

View File

@@ -420,8 +420,6 @@ static MPP_RET fill_registers(Avs2dHalCtx_t *p_hal, Vdpu383Avs2dRegSet *regs, Ha
{ {
//scale down config //scale down config
MppFrame mframe = NULL;
mpp_buf_slot_get_prop(p_hal->frame_slots, task_dec->output, mpp_buf_slot_get_prop(p_hal->frame_slots, task_dec->output,
SLOT_FRAME_PTR, &mframe); SLOT_FRAME_PTR, &mframe);
if (mpp_frame_get_thumbnail_en(mframe)) { if (mpp_frame_get_thumbnail_en(mframe)) {