From: Loren Merritt Date: Sat, 24 Apr 2010 16:22:14 +0000 (+0000) Subject: Fix mv predictor clipping on non-x86 (regression in r1548) X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=a927654cf5b4d3f25364b7fcebbce0bc4b178dec;p=x264.git Fix mv predictor clipping on non-x86 (regression in r1548) --- diff --git a/common/common.h b/common/common.h index 7bc6a1f0..44f8c1aa 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 ); } }