avcodec/fic: Fixes signed integer overflow
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 17 Aug 2017 16:24:37 +0000 (18:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 20 Aug 2017 00:59:57 +0000 (02:59 +0200)
commit0c9d5b015c2022e8deebb93367f8ee8a8eb779e8
tree2f1d1c07899f9c46a9b1747c49d018bf5491b5fc
parentd132683ddd4050d3fe103ca88c73258c3442dc34
avcodec/fic: Fixes signed integer overflow

Fixes: runtime error: signed integer overflow: 1037142357 + 1227025305 cannot be represented in type 'int'
Fixes: 3024/clusterfuzz-testcase-minimized-5885660323905536

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