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

index ef352e41b82bd403f15de9318e460aeee64bb1d3..2b9aecb84a910757d378efca28283b3a2a593f2f 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;
             }