Mercurial > libavcodec.hg
changeset 4157:bb0431100529 libavcodec
Simplify
author | lu_zero |
---|---|
date | Tue, 07 Nov 2006 12:45:29 +0000 |
parents | 2d53ef5a97cb |
children | 47d1b5261f17 |
files | ppc/fft_altivec.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ppc/fft_altivec.c Tue Nov 07 12:28:13 2006 +0000 +++ b/ppc/fft_altivec.c Tue Nov 07 12:45:29 2006 +0000 @@ -65,11 +65,7 @@ void ff_fft_calc_altivec(FFTContext *s, FFTComplex *z) { POWERPC_PERF_DECLARE(altivec_fft_num, s->nbits >= 6); -#ifdef CONFIG_DARWIN - register const vector float vczero = (const vector float)(0.); -#else - register const vector float vczero = (const vector float){0.,0.,0.,0.}; -#endif + register const vector float vczero = (const vector float)vec_splat_u32(0.); int ln = s->nbits; int j, np, np2;