Decoder: Fixed DoS in header decode when no PPS is present am: 2cd2f7a335

am: cec6503a20

Change-Id: I4cd503fce00a79db877b739a3b8db82e92f37329
This commit is contained in:
Harish Mahendrakar 2017-01-18 00:28:44 +00:00 committed by android-build-merger
commit 031a3fdbba

View file

@ -2050,6 +2050,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;
}