diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-11-07 12:45:29 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-11-07 12:45:29 +0000 |
commit | d9d2f88def1b2ad2f3dc5737c27463ffda6c8884 (patch) | |
tree | a33dfb414fd37f190c920abb5aeea802b99a4707 /libavcodec/ppc/fft_altivec.c | |
parent | 4802a7a7b1551c6fd898edd6325752aa0ff481a2 (diff) | |
download | ffmpeg-d9d2f88def1b2ad2f3dc5737c27463ffda6c8884.tar.gz |
Simplify
Originally committed as revision 6932 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc/fft_altivec.c')
-rw-r--r-- | libavcodec/ppc/fft_altivec.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/ppc/fft_altivec.c b/libavcodec/ppc/fft_altivec.c index 4f5ab8705f..384a774ff1 100644 --- a/libavcodec/ppc/fft_altivec.c +++ b/libavcodec/ppc/fft_altivec.c @@ -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; |