Merge "Decoder: Fix in reference list initialization." into mnc-dev am: 0015860fdc am: 9208f9461f am: c783f2efbe am: 68c59343e1 am: 0d7aed6e94 am: b581941c80 am: 9a17d36ba0 am: 62b880ae82

am: 88e53d081f

Change-Id: I59176977801e382bbc4a6656bef526115c6d0ce6
This commit is contained in:
Marco Nelissen 2017-04-06 23:40:13 +00:00 committed by android-build-merger
commit 0627bf0405

View file

@ -1494,7 +1494,7 @@ void ih264d_init_ref_idx_lx_b(dec_struct_t *ps_dec)
UWORD8 u1_i;
pic_buffer_t *ps_ref_pic;
ps_ref_pic = ps_dpb_mgr->ps_init_dpb[1][0] + MAX_REF_BUFS;
ps_ref_pic = ps_dpb_mgr->ps_init_dpb[0][0] + MAX_REF_BUFS;
if(NULL == ps_ref_pic->pu1_buf1)
{
@ -1521,7 +1521,7 @@ void ih264d_init_ref_idx_lx_b(dec_struct_t *ps_dec)
UWORD8 u1_i;
pic_buffer_t *ps_ref_pic;
ps_ref_pic = ps_dpb_mgr->ps_init_dpb[1][0];
ps_ref_pic = ps_dpb_mgr->ps_init_dpb[0][0];
if(NULL == ps_ref_pic->pu1_buf1)
{