avcodec/flacdsp_template: Fix invalid shifts in decorrelate
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 1 Feb 2020 21:52:13 +0000 (22:52 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 7 Apr 2020 16:29:20 +0000 (18:29 +0200)
commit3935c891e96c0819439da43d1b862652bbbdf065
tree8d2d873114ea4fe2e6a95f63d23b78a638547662
parent8dee1d7a302221ad0b5a3f11f3766f828c89c78e
avcodec/flacdsp_template: Fix invalid shifts in decorrelate

Fixes: left shift of negative value -2
Fixes: 20303/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLAC_fuzzer-5096829297623040

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