Mercurial > libavcodec.hg
diff ppc/float_altivec.c @ 8537:93a3020d9636 libavcodec
Fix float_to_int16_altivec prototype to match float_to_int16's in dsputil.h
(parameter 'len' is a long not an int).
Patch by David Conrad % lessen42 A gmail P com %
author | gpoirier |
---|---|
date | Tue, 06 Jan 2009 12:51:35 +0000 |
parents | d33b47d1f4c1 |
children | 5a923bd4f5c6 |
line wrap: on
line diff
--- a/ppc/float_altivec.c Tue Jan 06 10:44:45 2009 +0000 +++ b/ppc/float_altivec.c Tue Jan 06 12:51:35 2009 +0000 @@ -184,7 +184,7 @@ return vec_packs(t0,t1); } -static void float_to_int16_altivec(int16_t *dst, const float *src, int len) +static void float_to_int16_altivec(int16_t *dst, const float *src, long len) { int i; vector signed short d0, d1, d;