Merge "Decoder: Fixed DoS in header decode when no PPS is present" into mnc-dev

This commit is contained in:
TreeHugger Robot 2017-01-18 00:23:33 +00:00 committed by Android (Google) Code Review
commit e74ab7dba4

View file

@ -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;
}