aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-02 00:20:26 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-02 00:20:26 +0000
commit9bbb50648d487b2ce7d0540af69b7d6a4abc02a3 (patch)
tree45037ebe57757b58d9f5ad6a2f44da20afa6e3b9
parent48966b02cb9caae7b51a16e8afcc9e69ccb25f2a (diff)
downloadffmpeg-9bbb50648d487b2ce7d0540af69b7d6a4abc02a3.tar.gz
PPC: fix build on OSX without gas-preprocessor
Originally committed as revision 23962 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ppc/fft_altivec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/ppc/fft_altivec.c b/libavcodec/ppc/fft_altivec.c
index e763fe786b..b83e047a71 100644
--- a/libavcodec/ppc/fft_altivec.c
+++ b/libavcodec/ppc/fft_altivec.c
@@ -196,9 +196,9 @@ static void ff_imdct_calc_altivec(FFTContext *s, FFTSample *output, const FFTSam
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
}