avcodec/alsdec: fix undefined shift in multiply()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 Jul 2019 22:03:51 +0000 (00:03 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 Jul 2019 09:26:36 +0000 (11:26 +0200)
commitb880b3b236ddd00f85ea502b4c17a145fd26c790
tree8cf68a338d559e21d6a8c141ed682ed4fc737cce
parent9cd0d94f59d05e7bfaae9690e827752e7717eda3
avcodec/alsdec: fix undefined shift in multiply()

Fixes: left shift of negative value -6
Fixes: 15564/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-5701655938465792

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