diff options
author | Nedeljko Babic <nbabic@mips.com> | 2012-11-09 12:45:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-10 19:55:54 +0100 |
commit | 304a1ed1e86429eb4e20a48d887546b1072ed4da (patch) | |
tree | 26396f285e31a7cd508ec3404c4651e501518ee6 /libavcodec/mips/fft_mips.c | |
parent | 2d71f31df23910f18b17f17fa568b13fd5dcaf1a (diff) |
mips: Add dependencies on HAVE_INLINE_ASM
Add dependencies on HAVE_INLINE_ASM for files and parts of code
where it is necessary.
Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Reviewed-by: Vitor Sessak <vitor1001@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mips/fft_mips.c')
-rw-r--r-- | libavcodec/mips/fft_mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mips/fft_mips.c b/libavcodec/mips/fft_mips.c index 2b1c50899c..8a2d86e819 100644 --- a/libavcodec/mips/fft_mips.c +++ b/libavcodec/mips/fft_mips.c @@ -485,7 +485,6 @@ static void ff_imdct_half_mips(FFTContext *s, FFTSample *output, const FFTSample z2[1].im = temp12; } } -#endif /* HAVE_INLINE_ASM */ /** * Compute inverse MDCT of size N = 2^nbits @@ -513,6 +512,7 @@ static void ff_imdct_calc_mips(FFTContext *s, FFTSample *output, const FFTSample output[n-k-4] = output[n2+k+3]; } } +#endif /* HAVE_INLINE_ASM */ av_cold void ff_fft_init_mips(FFTContext *s) { @@ -522,9 +522,9 @@ av_cold void ff_fft_init_mips(FFTContext *s) #if HAVE_INLINE_ASM s->fft_calc = ff_fft_calc_mips; -#endif #if CONFIG_MDCT s->imdct_calc = ff_imdct_calc_mips; s->imdct_half = ff_imdct_half_mips; #endif +#endif } |