summaryrefslogtreecommitdiff
path: root/libavcodec/x86/mpegaudiodsp.c
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-08-21 13:43:43 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-23 02:39:21 +0200
commit6638e4a950a0208534b1081660fa4549aef61d74 (patch)
tree2ce9f349391bcaca1e1128612234187d7c4588f4 /libavcodec/x86/mpegaudiodsp.c
parent4f396a6f30248e3870d3837cfebc4779e91a3a3a (diff)
avcodec/x86/mpegaudiodsp: correct asm guards
Fixes -Wunused-function warnings when compiling with --disable-yasm on x86. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/x86/mpegaudiodsp.c')
-rw-r--r--libavcodec/x86/mpegaudiodsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/mpegaudiodsp.c b/libavcodec/x86/mpegaudiodsp.c
index 27231674ae..298dc2dbda 100644
--- a/libavcodec/x86/mpegaudiodsp.c
+++ b/libavcodec/x86/mpegaudiodsp.c
@@ -30,6 +30,7 @@
static void imdct36_blocks_ ## CPU(float *out, float *buf, float *in, int count, int switch_point, int block_type);\
void ff_imdct36_float_ ## CPU(float *out, float *buf, float *in, float *win);
+#if HAVE_YASM
#if ARCH_X86_32
DECL(sse)
#endif
@@ -37,6 +38,7 @@ DECL(sse2)
DECL(sse3)
DECL(ssse3)
DECL(avx)
+#endif /* HAVE_YASM */
void ff_four_imdct36_float_sse(float *out, float *buf, float *in, float *win,
float *tmpbuf);