avcodec/motion_est_template: Fix undefined shifts in CHECK_MV_DIR()
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 1 Jul 2015 10:16:37 +0000 (12:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 1 Jul 2015 10:21:56 +0000 (12:21 +0200)
commit56fd4705c0496bc108ac84c03465d33351d366a5
treeae33ebeb119aab5035d8d1016aa597a83bd58923
parent2f8c81637c47a70b8e06e1bb9877d6f9c058ee2a
avcodec/motion_est_template: Fix undefined shifts in CHECK_MV_DIR()

Fixes: signal_sigsegv_2e64ee0_2762_cov_4170502227_missing_frames.avi

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