Commit e13eee37 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/motion_est_template: Fix invalid shifts in no_sub_motion_search()

Fixes: Ticket8167
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 35958782
......@@ -157,8 +157,8 @@ static int no_sub_motion_search(MpegEncContext * s,
int src_index, int ref_index,
int size, int h)
{
(*mx_ptr)<<=1;
(*my_ptr)<<=1;
(*mx_ptr) *= 2;
(*my_ptr) *= 2;
return dmin;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment