[automerger] Bug fix for flush without valid frames am: 10c1176f1b am: 54fe392964
Change-Id: Ie3423ba1be63c8a26a05d0c1c7ca1c0281ed95ca
This commit is contained in:
commit
6261ed297b
1 changed files with 9 additions and 1 deletions
|
|
@ -1946,8 +1946,16 @@ WORD32 ih264d_video_decode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op)
|
|||
|
||||
}
|
||||
|
||||
if(ps_dec->u1_flushfrm && ps_dec->u1_init_dec_flag)
|
||||
if(ps_dec->u1_flushfrm)
|
||||
{
|
||||
if(ps_dec->u1_init_dec_flag == 0)
|
||||
{
|
||||
/*Come out of flush mode and return*/
|
||||
ps_dec->u1_flushfrm = 0;
|
||||
return (IV_FAIL);
|
||||
}
|
||||
|
||||
|
||||
|
||||
ih264d_get_next_display_field(ps_dec, ps_dec->ps_out_buffer,
|
||||
&(ps_dec->s_disp_op));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue