avcodec/ralf: fix undefined shift in extend_code()
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 17 Aug 2019 17:25:01 +0000 (19:25 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 2 Sep 2019 19:37:18 +0000 (21:37 +0200)
commit4778407ab3b545c40def7e95a8f9dd4ae92a4e8e
tree136c2fbc89b43912f6bac664a570f66512652734
parent0ee886988e75b3c22cabc2ca0fadcf8e4f787640
avcodec/ralf: fix undefined shift in extend_code()

Fixes: left shift of negative value -3
Fixes: 16147/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RALF_fuzzer-5658392722407424

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