summaryrefslogtreecommitdiff
path: root/libavcodec/i386/dsputil_h264_template_mmx.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-02-18 20:00:05 +0000
committerMåns Rullgård <mans@mansr.com>2007-02-18 20:00:05 +0000
commit459022f5042de7d02aa2895fc0721af401ef6037 (patch)
tree09f51ea0637aec28d06b94510d2ddb1b837076ff /libavcodec/i386/dsputil_h264_template_mmx.c
parentdd462087fd356802609828e7a89fc1fb49638fd2 (diff)
fix for x86-64
Originally committed as revision 8022 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/dsputil_h264_template_mmx.c')
-rw-r--r--libavcodec/i386/dsputil_h264_template_mmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/i386/dsputil_h264_template_mmx.c b/libavcodec/i386/dsputil_h264_template_mmx.c
index cfa012c487..daaa8d9477 100644
--- a/libavcodec/i386/dsputil_h264_template_mmx.c
+++ b/libavcodec/i386/dsputil_h264_template_mmx.c
@@ -246,7 +246,7 @@ static void H264_CHROMA_MC4_TMPL(uint8_t *dst/*align 4*/, uint8_t *src/*align 1*
"sub $2, %2 \n\t"
"jnz 1b \n\t"
: "+r"(dst), "+r"(src), "+r"(h)
- : "r"(stride), "m"(ff_pw_32), "m"(x), "m"(y), "m"(ff_pw_8)
+ : "r"((long)stride), "m"(ff_pw_32), "m"(x), "m"(y), "m"(ff_pw_8)
);
}