Mercurial > libavcodec.hg
changeset 5152:4507b67e71cd libavcodec
correct type for {put,avg}_h264_chroma_mc2_mmx2
author | mru |
---|---|
date | Sat, 16 Jun 2007 14:51:57 +0000 |
parents | 8c273ff9ca03 |
children | b985439e3e15 |
files | i386/dsputil_h264_template_mmx.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/dsputil_h264_template_mmx.c Sat Jun 16 11:44:57 2007 +0000 +++ b/i386/dsputil_h264_template_mmx.c Sat Jun 16 14:51:57 2007 +0000 @@ -251,7 +251,7 @@ } #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 @@ "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"); }