avcodec/rv10: Fix integer overflow in aspect ratio compare
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 28 Jun 2019 17:20:43 +0000 (19:20 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jul 2019 07:54:55 +0000 (09:54 +0200)
commit14fcf42958608223a0be6558fb6e323419c9fc27
tree54344e4c498372ece454e49a32cae2a55798ee58
parent17209e48e28d6c05c6fa78ec7630c368a6201fe8
avcodec/rv10: Fix integer overflow in aspect ratio compare

Fixes: signed integer overflow: 2040 * 1187872 cannot be represented in type 'int'
Fixes: 15368/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RV20_fuzzer-5681657136283648

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