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>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit205689ae8a5e00ce2d39e9559252c020cb784e56
tree62688ed693dca27f90fa6d3556e4fb269153ea9e
parentaf5c12c0290b6269d178dcded041f2201a8532b4
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