Decoder: Fix in MB count in MBAff error handling am: 43e0aa2210 am: 5745d5d1a2 am: dafabbc424 am: 296ccc24de am: 8edce048d0 am: 2ce937ef07

am: fbd405bfc0

Change-Id: I215cd094cb7c100bf831e304a4496167af00603b
This commit is contained in:
Harish Mahendrakar 2017-01-09 16:34:45 +00:00 committed by android-build-merger
commit ce8b6307b2

View file

@ -1462,6 +1462,11 @@ WORD32 ih264d_mark_err_slice_skip(dec_struct_t * ps_dec,
ih264d_err_pic_dispbuf_mgr(ps_dec);
return 0;
}
if(ps_dec->ps_cur_slice->u1_mbaff_frame_flag && (num_mb_skip & 1))
{
num_mb_skip++;
}
ps_dec->ps_dpb_cmds->u1_long_term_reference_flag = 0;
if(prev_slice_err == 1)
{