Decoder: Fixed cur_mb_info initialization in error cases

When number of MBs decoded in the current frame is zero and an error is
detected, MB info was unnecessarily decremented in multi-core case.

Bug: 33351708
Bug: 33298089
Bug: 33250932
Change-Id: I150c48c6fb382736f1de855ba5384c12bf84710d
This commit is contained in:
Harish Mahendrakar 2016-12-15 10:55:28 +05:30 committed by Ray Essick
parent 3ebff7dc62
commit 902c15251f

View file

@ -1598,7 +1598,7 @@ WORD32 ih264d_mark_err_slice_skip(dec_struct_t * ps_dec,
{
if(ps_dec->u1_separate_parse)
{
ps_cur_mb_info = ps_dec->ps_nmb_info - 1;
ps_cur_mb_info = ps_dec->ps_nmb_info;
}
else
{