encoder: fix null buffer dereferencing am: 3139d13ccd am: 3a4aac7376
Original change: 1663964
Change-Id: I61881dbaabbc24871883557486d0b8c1d8b3ce1a
This commit is contained in:
commit
29b671c12b
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 */
|
/* The buffer in the queue is set to NULL to specify that encoding is done for that frame */
|
||||||
for(i = 0; i < 3; i++)
|
for(i = 0; i < 3; i++)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue