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>
Sun, 17 Jun 2018 23:16:03 +0000 (01:16 +0200)
commit5c2e61f1f527142db5238e7c9c345eebe3724ec3
tree45a3c25b6a21ef11d99be2ff4c2b1b4c86917b6c
parent3fc7e88bfd8f9f57bea9dbdc5f8b1a5d6cca6d82
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