avformat/mvdec: Use 64 bit in timestamp computation
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 15 Dec 2021 17:37:13 +0000 (18:37 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 16 Dec 2021 20:06:47 +0000 (21:06 +0100)
commit99b2700f5bf887cf95316a2f9e8c1082b11982ba
tree30e84d7e2efea2a2bcc7313456e200fca42aeacf
parent9092e58c4469f5488f305fdb85e34e61bba7b04a
avformat/mvdec: Use 64 bit in timestamp computation

Fixes: division by zero
Fixes: 42198/clusterfuzz-testcase-minimized-ffmpeg_dem_MV_fuzzer-5054366405492736.fuzz
Fixes: 42222/clusterfuzz-testcase-minimized-ffmpeg_dem_MV_fuzzer-4561249331970048

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mvdec.c