mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/motion_est_template: Fix invalid shifts in no_sub_motion_search()
Fixes: Ticket8167 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
3595878281
commit
e13eee37ee
@ -157,8 +157,8 @@ static int no_sub_motion_search(MpegEncContext * s,
|
|||||||
int src_index, int ref_index,
|
int src_index, int ref_index,
|
||||||
int size, int h)
|
int size, int h)
|
||||||
{
|
{
|
||||||
(*mx_ptr)<<=1;
|
(*mx_ptr) *= 2;
|
||||||
(*my_ptr)<<=1;
|
(*my_ptr) *= 2;
|
||||||
return dmin;
|
return dmin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user