avcodec/indeo2: Check remaining input more often
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jul 2019 22:50:21 +0000 (00:50 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Aug 2019 20:14:03 +0000 (22:14 +0200)
commit52939a2c5772ec00101d293695d0a96dcccf99d9
tree591c0ccd0800c533fbe7dc79b88170ea095b8bdb
parentfbbc8ba67f19d55380b1bc8b5f057328c266d747
avcodec/indeo2: Check remaining input more often

Fixes: Timeout (95sec -> 30ms)
Fixes: 14765/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO2_fuzzer-5692455527120896

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