avcodec/diracdec: Use int64 in global mv to prevent overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 17 Feb 2018 22:54:44 +0000 (23:54 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 20 Feb 2018 14:27:51 +0000 (15:27 +0100)
commitcbcbefdc3b4cbc917d2f8b2dd216fb12121a838b
tree8c3d9fa16b2cec8e2cafff380dd8387d63e1c554
parent3748746a4d6988484d34516f7a3c6febf7bdf488
avcodec/diracdec: Use int64 in global mv to prevent overflow

Fixes: runtime error: signed integer overflow: 361 * -6295541 cannot be represented in type 'int'
Fixes: 5911/clusterfuzz-testcase-minimized-6450382197751808

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