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, 27 Feb 2018 18:59:58 +0000 (19:59 +0100)
commitb4135fb335f0ab1f06996233f45610c3dcb85bb7
tree7601ed3a0f0823979eea64995c81f3611e6be3cc
parent876ecfccfb2796906e1017fbad0388c411052c06
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>
(cherry picked from commit cbcbefdc3b4cbc917d2f8b2dd216fb12121a838b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/diracdec.c