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>
Sat, 13 May 2017 21:28:33 +0000 (23:28 +0200)
commit8630b2cd36c57918acfe18302fe77d1ceefbd676
tree01cec93509bfe8a7a644a25aad4866626cc5c6f9
parent8c5cd1c9d33b4b287f85d42efb1aecfaee31de6c
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>
libavcodec/ffv1dec.c