[x264-devel] commit: Fix mv predictor clipping on non-x86 (regression in r1548) ( Loren Merritt )

git at videolan.org git at videolan.org
Sat Apr 24 18:28:02 CEST 2010


x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Sat Apr 24 16:22:14 2010 +0000| [a927654cf5b4d3f25364b7fcebbce0bc4b178dec] | committer: Loren Merritt 

Fix mv predictor clipping on non-x86 (regression in r1548)

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

 common/common.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/common.h b/common/common.h
index 7bc6a1f..44f8c1a 100644
--- a/common/common.h
+++ b/common/common.h
@@ -195,7 +195,7 @@ static void ALWAYS_INLINE x264_predictor_roundclip( int16_t (*mvc)[2], int i_mvc
         int mx = (mvc[i][0] + 2) >> 2;
         int my = (mvc[i][1] + 2) >> 2;
         mvc[i][0] = x264_clip3( mx, mv_x_min, mv_x_max );
-        mvc[i][0] = x264_clip3( my, mv_y_min, mv_y_max );
+        mvc[i][1] = x264_clip3( my, mv_y_min, mv_y_max );
     }
 }
 



More information about the x264-devel mailing list