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/dsputil.h | |
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/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index bd792fe9db..5ba7d3f43f 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -63,7 +63,7 @@ void ff_h264_lowres_idct_put_c(uint8_t *dst, int stride, DCTELEM *block); 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 @@ typedef struct DSPContext { /* 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*/); |