aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mips/amrwbdec_mips.c
diff options
context:
space:
mode:
authorNedeljko Babic <nbabic@mips.com>2012-11-09 12:45:40 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-10 19:55:54 +0100
commit304a1ed1e86429eb4e20a48d887546b1072ed4da (patch)
tree26396f285e31a7cd508ec3404c4651e501518ee6 /libavcodec/mips/amrwbdec_mips.c
parent2d71f31df23910f18b17f17fa568b13fd5dcaf1a (diff)
downloadffmpeg-304a1ed1e86429eb4e20a48d887546b1072ed4da.tar.gz
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/amrwbdec_mips.c')
-rw-r--r--libavcodec/mips/amrwbdec_mips.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/mips/amrwbdec_mips.c b/libavcodec/mips/amrwbdec_mips.c
index 4bfbb8c6b9..77fae6c60a 100644
--- a/libavcodec/mips/amrwbdec_mips.c
+++ b/libavcodec/mips/amrwbdec_mips.c
@@ -53,6 +53,7 @@
#include "libavcodec/amrwbdata.h"
#include "amrwbdec_mips.h"
+#if HAVE_INLINE_ASM
void hb_fir_filter_mips(float *out, const float fir_coef[HB_FIR_SIZE + 1],
float mem[HB_FIR_SIZE], const float *in)
{
@@ -183,3 +184,4 @@ void hb_fir_filter_mips(float *out, const float fir_coef[HB_FIR_SIZE + 1],
}
memcpy(mem, data + AMRWB_SFR_SIZE_16k, HB_FIR_SIZE * sizeof(float));
}
+#endif /* HAVE_INLINE_ASM */