encoder: fix null buffer dereferencing am: 3139d13ccd
Original change: 1663964
Change-Id: I84eb4d89d0726548f765e75e06aee6a3ba98bdf6
This commit is contained in:
commit
3a4aac7376
1 changed files with 0 additions and 5 deletions
|
|
@ -445,11 +445,6 @@ WORD32 ih264e_input_queue_update(codec_t *ps_codec,
|
|||
}
|
||||
}
|
||||
|
||||
if (ps_enc_buff->u4_is_last)
|
||||
{
|
||||
ps_codec->pic_type = PIC_NA;
|
||||
}
|
||||
|
||||
/* The buffer in the queue is set to NULL to specify that encoding is done for that frame */
|
||||
for(i = 0; i < 3; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue