avcodec/shorten: Fix undefined shift in fix_bitshift()
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 5 Jun 2018 11:15:34 +0000 (13:15 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 7 Jun 2018 17:52:57 +0000 (19:52 +0200)
commit606c7148231404544005c0827b83c165dd6b39a8
tree48454311ee90f67c73a567f7ec6a796746881f2c
parenta711efe922b2bf1d363bdf7f8357656c3e35021e
avcodec/shorten: Fix undefined shift in fix_bitshift()

Fixes: left shift of negative value -9
Fixes: 8571/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5715966875926528

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