Decoder: Fixed DoS in header decode when no PPS is present am: 2cd2f7a335 am: cec6503a20 am: 031a3fdbba am: 5a44d81d8c am: 60566cca95 am: e951e02347 am: a89050b3f2

am: b0dd5208aa

Change-Id: I6577ebb0fa502c3d5bbc57877d49d1712cf59025
This commit is contained in:
Harish Mahendrakar 2017-01-18 00:43:15 +00:00 committed by android-build-merger
commit f4d148efea

View file

@ -2083,6 +2083,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*/ /* a start code has already been found earlier in the same process call*/
frame_data_left = 0; frame_data_left = 0;
header_data_left = 0;
continue; continue;
} }