avcodec/vc1_block: Check for vlc error in vc1_decode_ac_coeff()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 15 Jun 2019 21:28:25 +0000 (23:28 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jul 2019 06:42:41 +0000 (08:42 +0200)
commit79204a1fc8f1988f7d7e6cae2c3b68f513444d38
tree9b0f5c6b00ecfaeb53ac06ee3d5c327062f8eaa2
parenta6474b899c1153e3bb95e399b6605c3507aea0d0
avcodec/vc1_block: Check for vlc error in vc1_decode_ac_coeff()

Fixes: index -1 out of bounds for type 'const uint8_t [185][2]'
Fixes: 15250/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV3IMAGE_fuzzer-5648992869810176

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