avcodec/clearvideo: Check remaining input bits in P macro block loop
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 6 Dec 2018 00:19:37 +0000 (01:19 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 14 Dec 2018 22:24:20 +0000 (23:24 +0100)
commit7aaab127bebb33003105a620736d6cae8c45a6e5
treec10f031840f722f079ff8b8f39d03f13cd3ad43e
parent35a603050d6c1f8d6955808e1b13d81cd12f8843
avcodec/clearvideo: Check remaining input bits in P macro block loop

Fixes: Timeout
Fixes: 11083/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CLEARVIDEO_fuzzer-5657180351496192

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