diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-02-10 03:56:49 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-02-10 03:56:49 +0000 |
commit | 9bc0d3ef3e7079a7bedf1e592dc677067d4124e5 (patch) | |
tree | df2a99005f6f5cf0154a69ff06901e566667999f /libavcodec/i386 | |
parent | 559a55ad5249293186f933749e3767f448b5d2d3 (diff) | |
download | ffmpeg-streaming-9bc0d3ef3e7079a7bedf1e592dc677067d4124e5.zip ffmpeg-streaming-9bc0d3ef3e7079a7bedf1e592dc677067d4124e5.tar.gz |
maybe fix x86_64 (untested)
Originally committed as revision 7906 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r-- | libavcodec/i386/dsputil_h264_template_mmx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/i386/dsputil_h264_template_mmx.c b/libavcodec/i386/dsputil_h264_template_mmx.c index f85c992..16a9c6a 100644 --- a/libavcodec/i386/dsputil_h264_template_mmx.c +++ b/libavcodec/i386/dsputil_h264_template_mmx.c @@ -263,7 +263,7 @@ static void H264_CHROMA_MC4_TMPL(uint8_t *dst/*align 4*/, uint8_t *src/*align 1* } #ifdef H264_CHROMA_MC2_TMPL -static void H264_CHROMA_MC2_TMPL(uint8_t *dst/*align 2*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y) +static void H264_CHROMA_MC2_TMPL(uint8_t *dst/*align 2*/, uint8_t *src/*align 1*/, long stride, int h, int x, int y) { int tmp = ((1<<16)-1)*x + 8; int CD= tmp*y; @@ -306,8 +306,8 @@ static void H264_CHROMA_MC2_TMPL(uint8_t *dst/*align 2*/, uint8_t *src/*align 1* * ok because partitions are processed from left to right. */ H264_CHROMA_OP4((%0), %%mm1, %%mm3) "movd %%mm1, (%0)\n\t" - "addl %4, %0\n\t" - "subl $1, %2\n\t" + "add %4, %0\n\t" + "sub $1, %2\n\t" "jnz 1b\n\t" : "+r" (dst), "+r"(src), "+r"(h) : "m" (ff_pw_32), "r"(stride)); |