avcodec/aic: Check remaining bits in aic_decode_coeffs()
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 25 Feb 2019 12:26:25 +0000 (13:26 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 3 Mar 2019 12:17:02 +0000 (13:17 +0100)
commit951bb7632fe6e3bb1a9c3b47610705871e471f34
tree0f94c5ff57899d47fa776dfc57950b62ebcdd6cb
parent5cf42f65b60d226d1223d2100cb1d90402189275
avcodec/aic: Check remaining bits in aic_decode_coeffs()

Fixes: Timeout (78 seconds -> 2 seconds)
Fixes: 13186/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AIC_fuzzer-5639516533030912

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