avcodec/snowdec: Fix runtime error: signed integer overflow: 1404 * 8388608 cannot...
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 2 Jun 2017 16:13:20 +0000 (18:13 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 2 Jun 2017 22:09:58 +0000 (00:09 +0200)
commit14b6adfd4627421223894c6909476d229cb6d07d
treec9575611be7c4b75a465b88ccdcf38ce57d69daf
parent6f35c21659f7802a5533dea04b24958502886d7a
avcodec/snowdec: Fix runtime error: signed integer overflow: 1404 * 8388608 cannot be represented in type 'int'

Fixes: 2004/clusterfuzz-testcase-minimized-5533262866808832

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