[FFmpeg-cvslog] r23962 - trunk/libavcodec/ppc/fft_altivec.c

mru subversion
Fri Jul 2 02:20:26 CEST 2010


Author: mru
Date: Fri Jul  2 02:20:26 2010
New Revision: 23962

Log:
PPC: fix build on OSX without gas-preprocessor

Modified:
   trunk/libavcodec/ppc/fft_altivec.c

Modified: trunk/libavcodec/ppc/fft_altivec.c
==============================================================================
--- trunk/libavcodec/ppc/fft_altivec.c	Fri Jul  2 02:03:48 2010	(r23961)
+++ trunk/libavcodec/ppc/fft_altivec.c	Fri Jul  2 02:20:26 2010	(r23962)
@@ -196,9 +196,9 @@ static void ff_imdct_calc_altivec(FFTCon
 
 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
 }



More information about the ffmpeg-cvslog mailing list