avcodec/ffv1dec: Fix runtime error: signed integer overflow: 1550964438 + 1550964438...
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 13 May 2017 21:24:04 +0000 (23:24 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 14 May 2017 10:20:16 +0000 (12:20 +0200)
commit82bcbad1fd89ace50b2f5a3383f1a544343edf76
treebdf2d9685dc8d1b291e182dc1872c8a7bf144230
parent79bfa4a6636a095595254928a8b839975ee49ce8
avcodec/ffv1dec: Fix runtime error: signed integer overflow: 1550964438 + 1550964438 cannot be represented in type 'int'

Fixes: 1559/clusterfuzz-testcase-minimized-5048096079740928
Fixes: 1560/clusterfuzz-testcase-minimized-6011037813833728

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8630b2cd36c57918acfe18302fe77d1ceefbd676)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ffv1dec.c