changeset 12052:c7c32da068ab libavcodec

PPC: fix build on OSX without gas-preprocessor
author mru
date Fri, 02 Jul 2010 00:20:26 +0000
parents 3798d134f330
children aa0b01031adf
files ppc/fft_altivec.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/fft_altivec.c	Fri Jul 02 00:03:48 2010 +0000
+++ b/ppc/fft_altivec.c	Fri Jul 02 00:20:26 2010 +0000
@@ -196,9 +196,9 @@
 
 av_cold void ff_fft_init_altivec(FFTContext *s)
 {
-    if (HAVE_GNU_AS) {
-        s->fft_calc = ff_fft_calc_altivec;
-        s->imdct_calc = ff_imdct_calc_altivec;
-        s->imdct_half = ff_imdct_half_altivec;
-    }
+#if HAVE_GNU_AS
+    s->fft_calc = ff_fft_calc_altivec;
+    s->imdct_calc = ff_imdct_calc_altivec;
+    s->imdct_half = ff_imdct_half_altivec;
+#endif
 }