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>
Thu, 21 Mar 2019 09:42:51 +0000 (10:42 +0100)
commit50ee16431c56562225cde14f4250e60e86dbfd9c
tree1a89f8ea4a2e7e35dfe1e8e181a4581ada4e20e9
parentff8ba749b439cd1c232cd7f30ba5e4e1d3d8c20a
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>
(cherry picked from commit 7aaab127bebb33003105a620736d6cae8c45a6e5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/clearvideo.c