avcodec/motion_est_template: Fix undefined shifts in CHECK_MV()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 2 Jul 2015 16:42:05 +0000 (18:42 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 2 Jul 2015 16:43:03 +0000 (18:43 +0200)
commit9dc0bac9719a7b4c926d0c928ea8684e005f979d
treedb2aa8e8636afba14a9086596656eb6e0c1c64e3
parentdb89f45535aa3e99bceb5f6bf957c90e7ca39841
avcodec/motion_est_template: Fix undefined shifts in CHECK_MV()

Fixes:asan_heap-oob_4d5bb0_2295_cov_3374722539_hotel_california_ra5.1_640x480_30s.rmvb

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