avcodec/ffwavesynth: Fix integer overflow for some corner case values
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 10 Aug 2019 21:09:44 +0000 (23:09 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 14 Aug 2019 23:26:21 +0000 (01:26 +0200)
commitc4a88fb546b64179aff12c169239285932e570ac
treeefe1a210f71eda3e20bef558acd881e9ed096357
parent59744637673d4fc1974e24f5a8e0137d104e16a1
avcodec/ffwavesynth: Fix integer overflow for some corner case values

Fixes: left shift of negative value -14671840
Fixes: 16000/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFWAVESYNTH_fuzzer-5145977817661440

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