avcodec/hq_hqa: Check remaining input bits in hqa_decode_mb()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 20 Aug 2018 20:53:32 +0000 (22:53 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 18 Nov 2018 01:20:44 +0000 (02:20 +0100)
commit368e7a0994222442a46be577f38aedc18f97aeac
treedef203bdccedcde63995473a9bc22d4bc76f464e
parent2df51ffcb7f2f1ee14715e28793ef549b0a7f565
avcodec/hq_hqa: Check remaining input bits in hqa_decode_mb()

Fixes: Timeout
Fixes: 9634/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HQ_HQA_fuzzer-6267852259590144

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 c9222b972d6cbdaf6571cf7ae0a6513bffa5ff9f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/hq_hqa.c