avcodec/motion_est: Fix some undefined shifts
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 1 Jul 2015 13:41:29 +0000 (15:41 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 1 Jul 2015 13:42:07 +0000 (15:42 +0200)
commitac78014f0b1f219a596d3c0cd803cf6b84191886
tree3fe65883c4c0a2e022addc328476832b27a54254
parentf91126643a91c2d3f8d8e210c8facaf259951b03
avcodec/motion_est: Fix some undefined shifts

Fixes: asan_heap-oob_1dd60fd_1049_cov_4200102444_P4250048.MOV

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