Decoder: Fixed DoS in header decode when no PPS is present
When the input does not contain PPS and decoder is in header decode mode, decoder was entering an infinite loop. Bug: 33621215 (cherry picked from commit 33e1b190d6db09bd72a9f0f51acef4b14eabd6ff)
This commit is contained in:
parent
9c2c615c92
commit
2cd2f7a335
1 changed files with 1 additions and 0 deletions
|
|
@ -3035,6 +3035,7 @@ WORD32 ih264d_video_decode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op)
|
|||
{
|
||||
/* a start code has already been found earlier in the same process call*/
|
||||
frame_data_left = 0;
|
||||
header_data_left = 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue