[automerger] Bug fix for flush without valid frames am: 10c1176f1b am: 54fe392964 am: 6261ed297b am: 051d4fb2dc
Change-Id: I836923c5188a8b7090f8d0afa76de02f501df147
This commit is contained in:
commit
1863b7cc03
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