From 304a1ed1e86429eb4e20a48d887546b1072ed4da Mon Sep 17 00:00:00 2001 From: Nedeljko Babic Date: Fri, 9 Nov 2012 12:45:40 +0100 Subject: 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 Reviewed-by: Vitor Sessak Signed-off-by: Michael Niedermayer --- libavcodec/mips/fft_mips.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/mips/fft_mips.c') 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 } -- cgit v1.2.3