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>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commit23c5d8d9ce7d6e687091aafb418da560fabb22fd
tree01c07c3f3ec3a515c7d0d16ebfb70defc7098f2c
parentc2ac8d3147788de45abeacfa07af0d83ce1b366d
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