diff options
author | Måns Rullgård <mans@mansr.com> | 2007-06-16 14:51:57 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-06-16 14:51:57 +0000 |
commit | 8657d5e5492c4521177fb719e18acb58eef06e49 (patch) | |
tree | 90bd1771e3575efb46233789a0a8dd8cccea4329 /libavcodec | |
parent | bb5705b988819df6637c19d4f5faa7222e31d4dd (diff) | |
download | ffmpeg-8657d5e5492c4521177fb719e18acb58eef06e49.tar.gz |
correct type for {put,avg}_h264_chroma_mc2_mmx2
Originally committed as revision 9333 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/i386/dsputil_h264_template_mmx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/i386/dsputil_h264_template_mmx.c b/libavcodec/i386/dsputil_h264_template_mmx.c index a943a03715..e3da92fc19 100644 --- a/libavcodec/i386/dsputil_h264_template_mmx.c +++ b/libavcodec/i386/dsputil_h264_template_mmx.c @@ -251,7 +251,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*/, long stride, int h, int x, int y) +static void H264_CHROMA_MC2_TMPL(uint8_t *dst/*align 2*/, uint8_t *src/*align 1*/, int stride, int h, int x, int y) { int tmp = ((1<<16)-1)*x + 8; int CD= tmp*y; @@ -297,7 +297,7 @@ static void H264_CHROMA_MC2_TMPL(uint8_t *dst/*align 2*/, uint8_t *src/*align 1* "sub $1, %2\n\t" "jnz 1b\n\t" : "+r" (dst), "+r"(src), "+r"(h) - : "m" (ff_pw_32), "r"(stride) + : "m" (ff_pw_32), "r"((long)stride) : "%esi"); } |