avcodec/indeo4: Check for end of bitstream in decode_mb_info()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 1 Jul 2018 23:26:44 +0000 (01:26 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 9 Jul 2018 23:52:56 +0000 (01:52 +0200)
commit4652b0f8fe8a444619f695bc1921d0d8133e1203
tree5dcb9f36c19ec74cd6aad70dfee44bca940cb6b3
parent29c7a02bb2858e669441c642af3230db5f147f50
avcodec/indeo4: Check for end of bitstream in decode_mb_info()

Fixes: Timeout
Fixes: 8776/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO4_fuzzer-5361788798369792

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 267ba2aa96354c5b6a1ea89b2943fbd7a4893862)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/indeo4.c