diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-07-07 21:04:29 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-07-07 21:04:29 +0000 |
commit | 560fa9bf51e20039120ffd1bfd7bcde6974264c6 (patch) | |
tree | 6405e931cb856a50a9b76b9f57a5af37db1c0bc4 /libavcodec/i386 | |
parent | 63b737d4f9c118853a4f8d9af641335629bdf3ab (diff) | |
download | ffmpeg-560fa9bf51e20039120ffd1bfd7bcde6974264c6.tar.gz |
Fix x86-64
Originally committed as revision 14103 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r-- | libavcodec/i386/dsputil_mmx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c index 8925ffaf43..cef9a106a1 100644 --- a/libavcodec/i386/dsputil_mmx.c +++ b/libavcodec/i386/dsputil_mmx.c @@ -2022,7 +2022,7 @@ static void vector_fmul_add_add_sse(float *dst, const float *src0, const float * ff_vector_fmul_add_add_c(dst, src0, src1, src2, src3, len, step); } -static void float_to_int16_3dnow(int16_t *dst, const float *src, int len){ +static void float_to_int16_3dnow(int16_t *dst, const float *src, long len){ // not bit-exact: pf2id uses different rounding than C and SSE asm volatile( "add %0 , %0 \n\t" @@ -2044,7 +2044,7 @@ static void float_to_int16_3dnow(int16_t *dst, const float *src, int len){ :"+r"(len), "+r"(dst), "+r"(src) ); } -static void float_to_int16_sse(int16_t *dst, const float *src, int len){ +static void float_to_int16_sse(int16_t *dst, const float *src, long len){ int i; for(i=0; i<len; i+=4) { asm volatile( |