]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/motion_est_template.c
avformat/audiointerleave: only keep the retime functionality of the audio interleaver
[ffmpeg] / libavcodec / motion_est_template.c
index 014038e54fc4600de2ddcaeb193a861d5a6af1bc..13e73f2653a0f38cd427a83c6dc57b81e24ec418 100644 (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;
 }