avcodec/ffwavesynth: Fixes invalid shift with pink noise seeking
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 10 Aug 2019 21:09:45 +0000 (23:09 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 14 Aug 2019 23:26:21 +0000 (01:26 +0200)
commitcdea0206efeca83a0a9b57d0764b177b2e11ab7c
tree99990dce6f0e0ecdacbf53244f30c62722d587ad
parentc4a88fb546b64179aff12c169239285932e570ac
avcodec/ffwavesynth: Fixes invalid shift with pink noise seeking

Fixes: left shift of negative value -961533698048
Fixes: 16242/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFWAVESYNTH_fuzzer-5738550670131200

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