avcodec/mmvideo: Fix undefined behavior (left shift of negative value)
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 8 Oct 2014 02:12:26 +0000 (04:12 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 8 Oct 2014 03:35:01 +0000 (05:35 +0200)
commit9db9b209e3a32ecce93378a24fb931d7db35b1c2
tree4995a5fa2830a5ac349f822b96663a75103ec5d2
parent1acc9189b4c2c6b3ab39724e0ff80ec95c6683b3
avcodec/mmvideo: Fix undefined behavior (left shift of negative value)

Fixes: asan_heap-oob_4da4f3_8_asan_heap-oob_4da4f3_419_scene1a.mm

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mmvideo.c