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>
Fri, 19 Apr 2019 19:06:09 +0000 (21:06 +0200)
commit837820f385af699f9bee5e2ba3169dda15e5894d
tree05c4ea45b417589efe4e6cffc1098508062c9759
parentfac761dae92791af3d1ae05479e423fc9a8e7704
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>
libavcodec/diracdec.c