]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264_direct.c
avcodec/movtextdec: Call mov_text_cleanup() on close
[ffmpeg] / libavcodec / h264_direct.c
index 107c905db126c14fa95740b5845c30cce1b4ab16..cbb84665b3b9080415914802857db07c25a48f45 100644 (file)
@@ -614,7 +614,7 @@ single_col:
 
                 {
                     const int16_t *mv_col = l1mv[x8 * 3 + y8 * b4_stride];
-                    int my_col            = (mv_col[1] << y_shift) / 2;
+                    int my_col            = (mv_col[1] * (1 << y_shift)) / 2;
                     int mx                = (scale * mv_col[0] + 128) >> 8;
                     int my                = (scale * my_col    + 128) >> 8;
                     fill_rectangle(&sl->mv_cache[0][scan8[i8 * 4]], 2, 2, 8,