diff dsputil.h @ 7218:7f3d6509628b libavcodec

Fix x86-64
author michael
date Mon, 07 Jul 2008 21:04:29 +0000
parents 87b1dfb5a98d
children cc55dd004819
line wrap: on
line diff
--- a/dsputil.h	Mon Jul 07 20:46:03 2008 +0000
+++ b/dsputil.h	Mon Jul 07 21:04:29 2008 +0000
@@ -63,7 +63,7 @@
 
 void ff_vector_fmul_add_add_c(float *dst, const float *src0, const float *src1,
                               const float *src2, int src3, int blocksize, int step);
-void ff_float_to_int16_c(int16_t *dst, const float *src, int len);
+void ff_float_to_int16_c(int16_t *dst, const float *src, long len);
 
 /* encoding scans */
 extern const uint8_t ff_alternate_horizontal_scan[64];
@@ -367,7 +367,7 @@
 
     /* C version: convert floats from the range [384.0,386.0] to ints in [-32768,32767]
      * simd versions: convert floats from [-32768.0,32767.0] without rescaling and arrays are 16byte aligned */
-    void (*float_to_int16)(int16_t *dst, const float *src, int len);
+    void (*float_to_int16)(int16_t *dst, const float *src, long len);
 
     /* (I)DCT */
     void (*fdct)(DCTELEM *block/* align 16*/);