PPC: fix build on OSX without gas-preprocessor

Originally committed as revision 23962 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-07-02 00:20:26 +00:00
parent 48966b02cb
commit 9bbb50648d

View File

@ -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) av_cold void ff_fft_init_altivec(FFTContext *s)
{ {
if (HAVE_GNU_AS) { #if HAVE_GNU_AS
s->fft_calc = ff_fft_calc_altivec; s->fft_calc = ff_fft_calc_altivec;
s->imdct_calc = ff_imdct_calc_altivec; s->imdct_calc = ff_imdct_calc_altivec;
s->imdct_half = ff_imdct_half_altivec; s->imdct_half = ff_imdct_half_altivec;
} #endif
} }