avcodec/utvideodec: Fix undefined behavior in shift
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 11 Nov 2014 02:34:58 +0000 (03:34 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 11 Nov 2014 02:35:57 +0000 (03:35 +0100)
commit48efe9ec86acf6dcf6aabef2114f8dd04e4fbce4
tree3b52d890d733746b83e23adf406c70af7fd011ee
parent35dcc8a0405788de392ed116dd628aef2772003d
avcodec/utvideodec: Fix undefined behavior in shift

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