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, 4 Sep 2019 18:26:35 +0000 (20:26 +0200)
commit80ecb421febece8a28a8bf88ff700a6571baf56c
tree6a960610ceb6eba1dab1b6fbdfe074cc5331ba20
parentbcc1fe5165b21d6039c5be87e8ee8c25de1339d6
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>
(cherry picked from commit cdea0206efeca83a0a9b57d0764b177b2e11ab7c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ffwavesynth.c