avcodec/diracdec: Fix integer overflow in mv computation
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 18 Feb 2018 20:51:38 +0000 (21:51 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 20 Feb 2018 14:27:51 +0000 (15:27 +0100)
commit47e65ad63b3d067445c4de41a7718b83fc07767c
tree0a57438bbb7873da900d11f2f581dc400dfec6a9
parent85c85fffff3f9c75301db3eba1bd5f2fb1e6285d
avcodec/diracdec: Fix integer overflow in mv computation

Fixes: signed integer overflow: -2072 + -2147483646 cannot be represented in type 'int'
Fixes: 6097/clusterfuzz-testcase-minimized-5034145253163008

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/diracdec.c