4mv bugfix
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 24 Jun 2002 15:02:52 +0000 (15:02 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 24 Jun 2002 15:02:52 +0000 (15:02 +0000)
Originally committed as revision 702 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/motion_est.c

index 8f2ffa4..21d1a74 100644 (file)
@@ -1715,9 +1715,9 @@ void ff_fix_long_p_mvs(MpegEncContext * s)
                             s->mb_type[i] |= MB_TYPE_INTRA;
                         }
                     }
-                    xy+=2;
-                    i++;
                 }
+                xy+=2;
+                i++;
             }
         }
     }