avcodec/diracdec: Use 64bit in intermediate of global motion vector field generation
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 7 Apr 2019 14:44:53 +0000 (16:44 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Jun 2019 15:50:47 +0000 (17:50 +0200)
commitfb3135ae97948c9dab2b68cfe8a59f35f1e7d287
treee173dc6eb927fdea939135f76c1a16fa7a05f92d
parent6a0895bdf30821ca05516040c13addc770453ef9
avcodec/diracdec: Use 64bit in intermediate of global motion vector field generation

It seems the specification does not limit the value to 32bit

Fixes: signed integer overflow: -109611143 * 24 cannot be represented in type 'int'
Fixes: 13477/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-5648337460527104

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 837820f385af699f9bee5e2ba3169dda15e5894d)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/diracdec.c