avcodec/h264_mvpred: Fix undefined shifts in MAP_F2F
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 1 Jul 2015 13:43:50 +0000 (15:43 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 1 Jul 2015 13:53:15 +0000 (15:53 +0200)
commit53fd70579bc2314f2f5d528bed96914179b9a209
tree3fe6c448cfb9548066a1adeae8f6761f163b0e14
parentac78014f0b1f219a596d3c0cd803cf6b84191886
avcodec/h264_mvpred: Fix undefined shifts in MAP_F2F

Fixes: asan_heap-oob_17301a3_2100_cov_3226131691_ff_add_pixels_clamped_mmx.m2ts

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