Merge "Decoder: Fix in the case of MMCO 6" into mnc-dev am: 6b3d20c032 am: 4bbbcfe76d am: ccbbaa640c am: e3e6c70c19
am: 8757210aba
Change-Id: I14784632eb052b3d5652b5b9008b362c5ed6c3ab
This commit is contained in:
commit
c11fe0ec2a
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);
|
||||
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;
|
||||
|
||||
if(ps_dpb_mgr->u1_num_st_ref_bufs > 0)
|
||||
|
||||
{
|
||||
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;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue