diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-02 04:20:26 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-02 04:20:26 +0400 |
commit | 9bbb50648d487b2ce7d0540af69b7d6a4abc02a3 (patch) | |
tree | 45037ebe57757b58d9f5ad6a2f44da20afa6e3b9 /libavcodec/ppc | |
parent | 48966b02cb9caae7b51a16e8afcc9e69ccb25f2a (diff) |
PPC: fix build on OSX without gas-preprocessor
Originally committed as revision 23962 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/fft_altivec.c | 10 |
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 } |