[x264-devel] Fix zeroing of mvr predictors in bskip blocks

Loren Merritt git at videolan.org
Wed Aug 24 22:40:16 CEST 2011


x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Thu Aug 11 22:12:26 2011 +0000| [b232a9dcc5dacf80ad9498ce95e1192c324dcc8b] | committer: Jason Garrett-Glaser

Fix zeroing of mvr predictors in bskip blocks

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=b232a9dcc5dacf80ad9498ce95e1192c324dcc8b
---

 encoder/analyse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/encoder/analyse.c b/encoder/analyse.c
index ef352e4..2b9aecb 100644
--- a/encoder/analyse.c
+++ b/encoder/analyse.c
@@ -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;
             }
 



More information about the x264-devel mailing list