Fix zeroing of mvr predictors in bskip blocks
authorLoren Merritt <pengvado@akuvian.org>
Thu, 11 Aug 2011 22:12:26 +0000 (22:12 +0000)
committerFiona Glaser <fiona@x264.com>
Wed, 24 Aug 2011 17:22:51 +0000 (10:22 -0700)
encoder/analyse.c

index a762387..ea9c717 100644 (file)
@@ -3358,7 +3358,7 @@ intra_analysis:
                 for( int i = 1; i < h->mb.pic.i_fref[0]; i++ )
                     M32( h->mb.mvr[0][i][h->mb.i_mb_xy] ) = 0;
                 for( int i = 1; i < h->mb.pic.i_fref[1]; i++ )
-                    M32( h->mb.mvr[0][i][h->mb.i_mb_xy] ) = 0;
+                    M32( h->mb.mvr[1][i][h->mb.i_mb_xy] ) = 0;
                 return;
             }