avcodec/vc1_block: Fix integer overflow in ff_vc1_pred_dc()
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 4 Jul 2019 21:13:13 +0000 (23:13 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Jul 2019 18:35:07 +0000 (20:35 +0200)
commitf31ed8f3b00ec7afe87092798bf0b397f6e19ed5
tree7d9e208ece36ad75bfa440bd51964fe83c6534e7
parent9a353ea8766206bd302f3f12ca1d226237542908
avcodec/vc1_block: Fix integer overflow in ff_vc1_pred_dc()

Fixes: signed integer overflow: 32796 * 65536 cannot be represented in type 'int'
Fixes: 15430/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1IMAGE_fuzzer-5735424087031808

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