This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/motion_est_template: Fix invalid shifts in no_sub_motion_search()
Fixes: Ticket8167 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.3
Michael Niedermayer
5 years ago
parent
3595878281
commit
e13eee37ee
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
libavcodec/motion_est_template.c
+ 2
- 2
libavcodec/motion_est_template.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save