Decoder: Fix in the case of error in the first MB in frame. am: 56b5563f3e am: 7f2a8c6fa8 am: f5d29ebf92 am: 9db31ee733 am: b95d51ad3a
am: 2f0f7c3b81
Change-Id: I7b4b97455713f084d2b3f96673046476409a9652
This commit is contained in:
commit
f2efe71c75
1 changed files with 5 additions and 5 deletions
|
|
@ -1606,13 +1606,13 @@ WORD32 ih264d_mark_err_slice_skip(dec_struct_t * ps_dec,
|
||||||
ps_dec->u1_mb_ngbr_availablity =
|
ps_dec->u1_mb_ngbr_availablity =
|
||||||
ps_cur_mb_info->u1_mb_ngbr_availablity;
|
ps_cur_mb_info->u1_mb_ngbr_availablity;
|
||||||
|
|
||||||
// Going back 1 mb
|
|
||||||
ps_dec->pv_parse_tu_coeff_data = ps_dec->pv_prev_mb_parse_tu_coeff_data;
|
|
||||||
ps_dec->u2_cur_mb_addr--;
|
|
||||||
ps_dec->i4_submb_ofst -= SUB_BLK_SIZE;
|
|
||||||
|
|
||||||
if(u1_num_mbs)
|
if(u1_num_mbs)
|
||||||
{
|
{
|
||||||
|
// Going back 1 mb
|
||||||
|
ps_dec->pv_parse_tu_coeff_data = ps_dec->pv_prev_mb_parse_tu_coeff_data;
|
||||||
|
ps_dec->u2_cur_mb_addr--;
|
||||||
|
ps_dec->i4_submb_ofst -= SUB_BLK_SIZE;
|
||||||
|
|
||||||
// Parse/decode N-MB left unparsed
|
// Parse/decode N-MB left unparsed
|
||||||
if (ps_dec->u1_pr_sl_type == P_SLICE
|
if (ps_dec->u1_pr_sl_type == P_SLICE
|
||||||
|| ps_dec->u1_pr_sl_type == B_SLICE)
|
|| ps_dec->u1_pr_sl_type == B_SLICE)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue