avcodec/wcmv: Fix integer overflows
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 25 Sep 2018 00:01:58 +0000 (02:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 30 Sep 2018 20:23:02 +0000 (22:23 +0200)
commita8a98ba9eeedc0c4b5d95e3b61840174cd254bca
treece2c1d47348dde6095cf01725c8a94b1ce99faf1
parent2076e11839b35c62e28642dcf71c95304af9222f
avcodec/wcmv: Fix integer overflows

Fixes: signed integer overflow: 262140 * 65535 cannot be represented in type 'int'
Fixes: 10090/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WCMV_fuzzer-5691269368512512

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