Merge "Decoder: Fix in the case of MMCO 6" into mnc-dev
am: 6b3d20c032
Change-Id: I7cc789a4b548e19077559799096e927d44ffdbb0
This commit is contained in:
commit
4bbbcfe76d
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