diff options
author | Måns Rullgård <mans@mansr.com> | 2007-02-18 20:00:05 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-02-18 20:00:05 +0000 |
commit | 459022f5042de7d02aa2895fc0721af401ef6037 (patch) | |
tree | 09f51ea0637aec28d06b94510d2ddb1b837076ff /libavcodec/i386/dsputil_h264_template_mmx.c | |
parent | dd462087fd356802609828e7a89fc1fb49638fd2 (diff) | |
download | ffmpeg-459022f5042de7d02aa2895fc0721af401ef6037.tar.gz |
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.c | 2 |
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) ); } |