avcodec/msmpeg4dec: Check for input end in msmpeg4v34_decode_mb()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 26 Feb 2018 15:44:50 +0000 (16:44 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 27 Feb 2018 18:37:06 +0000 (19:37 +0100)
commitf9cb17f988cc72048f2051ce120ccbd6d05ce1c2
tree4262276e690d4048e180fe1813e5420449756d90
parent8b5c29b6c2ab00f8fb545475238a99f575b5d81d
avcodec/msmpeg4dec: Check for input end in msmpeg4v34_decode_mb()

Fixes: Timeout
Fixes: 6276/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV1_fuzzer-5881196690014208

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/msmpeg4dec.c