Merge "Decoder: Fixed hang in the case of dangling field" into mnc-dev am: 2f1ca945b1 am: 1b1e6d3ec9 am: 8ec4061310
am: 40d1b833d8
Change-Id: Id2268e35f95084f7c742587166c84404b979ac7a
This commit is contained in:
commit
73763b165e
1 changed files with 1 additions and 2 deletions
|
|
@ -1382,9 +1382,8 @@ WORD32 ih264d_parse_decode_slice(UWORD8 u1_is_idr_slice,
|
|||
if(ps_dec->u1_dangling_field == 1)
|
||||
{
|
||||
ps_dec->u1_second_field = 1 - ps_dec->u1_second_field;
|
||||
ps_cur_slice->u1_bottom_field_flag = u1_bottom_field_flag;
|
||||
ps_dec->u2_prv_frame_num = u2_frame_num;
|
||||
ps_dec->u1_first_slice_in_stream = 0;
|
||||
ps_dec->u1_top_bottom_decoded = TOP_FIELD_ONLY | BOT_FIELD_ONLY;
|
||||
return ERROR_DANGLING_FIELD_IN_PIC;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue