aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/i386
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-12-03 11:07:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-12-03 11:07:41 +0000
commit843342efb77b1e2545c7f7ea6e6eca37482670b1 (patch)
tree52712e22877e4ab4155c29ecbb5e59485a5bdf29 /libavcodec/i386
parent2571e3b62b7343cf7a0531c036bebaa736cc3804 (diff)
downloadffmpeg-843342efb77b1e2545c7f7ea6e6eca37482670b1.tar.gz
100l (sad8x8_x2 had params in wrong order)
Originally committed as revision 1299 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r--libavcodec/i386/motion_est_mmx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/i386/motion_est_mmx.c b/libavcodec/i386/motion_est_mmx.c
index 9b76cdb079..3368e73331 100644
--- a/libavcodec/i386/motion_est_mmx.c
+++ b/libavcodec/i386/motion_est_mmx.c
@@ -263,6 +263,7 @@ static inline int sum_mmx2()
return ret;
}
+
#define PIX_SAD(suf)\
int pix_abs8x8_ ## suf(UINT8 *blk2, UINT8 *blk1, int stride)\
{\
@@ -282,7 +283,7 @@ int pix_abs8x8_x2_ ## suf(UINT8 *blk2, UINT8 *blk1, int stride)\
:: "m"(round_tab[1]) \
);\
\
- sad8_2_ ## suf(blk1, blk2+1, blk2, stride, 3);\
+ sad8_2_ ## suf(blk1, blk1+1, blk2, stride, 3);\
\
return sum_ ## suf();\
}\