Merge "Decoder: Fix in the case of MMCO 6" into mnc-dev am: 6b3d20c032 am: 4bbbcfe76d
am: ccbbaa640c
Change-Id: I85141aaaf24bd82df1dfe69a8dd84e97b82a533a
This commit is contained in:
commit
e3e6c70c19
1 changed files with 16 additions and 5 deletions
|
|
@ -1289,11 +1289,22 @@ WORD32 ih264d_do_mmco_buffer(dpb_commands_t *ps_dpb_cmds,
|
||||||
u4_cur_pic_num);
|
u4_cur_pic_num);
|
||||||
if(ret != OK)
|
if(ret != OK)
|
||||||
return ret;
|
return ret;
|
||||||
ret = ih264d_delete_st_node_or_make_lt(ps_dpb_mgr,
|
|
||||||
u4_cur_pic_num, u4_lt_idx,
|
if(ps_dpb_mgr->u1_num_st_ref_bufs > 0)
|
||||||
u1_fld_pic_flag);
|
|
||||||
if(ret != OK)
|
{
|
||||||
return ret;
|
ret = ih264d_delete_st_node_or_make_lt(ps_dpb_mgr,
|
||||||
|
u4_cur_pic_num,
|
||||||
|
u4_lt_idx,
|
||||||
|
u1_fld_pic_flag);
|
||||||
|
if(ret != OK)
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return ERROR_DBP_MANAGER_T;
|
||||||
|
}
|
||||||
|
|
||||||
u1_marked_lt = 1;
|
u1_marked_lt = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue