diff i386/dsputil_mmx.c @ 7218:7f3d6509628b libavcodec

Fix x86-64
author michael
date Mon, 07 Jul 2008 21:04:29 +0000
parents 726770da3234
children f72ef5b28253
line wrap: on
line diff
--- a/i386/dsputil_mmx.c	Mon Jul 07 20:46:03 2008 +0000
+++ b/i386/dsputil_mmx.c	Mon Jul 07 21:04:29 2008 +0000
@@ -2022,7 +2022,7 @@
         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 @@
         :"+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(