avcodec/snow: Fix runtime error: signed integer overflow: 1086573993 + 1086573994...
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 28 May 2017 15:12:35 +0000 (17:12 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 5 Jun 2017 21:16:54 +0000 (23:16 +0200)
commit1d88ec2fb0e6d92ceb4d94cf54756d0c0880bd80
treea1491058fc40455a5b76e48e810bab6eeb0baf23
parent65f38d1285f30f277c6ec3b248eb7402a0fbb3d3
avcodec/snow: Fix runtime error: signed integer overflow: 1086573993 + 1086573994 cannot be represented in type 'int'

Fixes: 1871/clusterfuzz-testcase-minimized-5719950331215872

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b9c032ebc0ad17ac0ffefb915ff96baf9d79cab1)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/snow.h