Commit 6638e4a9 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde Committed by Michael Niedermayer

avcodec/x86/mpegaudiodsp: correct asm guards

Fixes -Wunused-function warnings when compiling with --disable-yasm on x86.
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 4f396a6f
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
static void imdct36_blocks_ ## CPU(float *out, float *buf, float *in, int count, int switch_point, int block_type);\ 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); void ff_imdct36_float_ ## CPU(float *out, float *buf, float *in, float *win);
#if HAVE_YASM
#if ARCH_X86_32 #if ARCH_X86_32
DECL(sse) DECL(sse)
#endif #endif
...@@ -37,6 +38,7 @@ DECL(sse2) ...@@ -37,6 +38,7 @@ DECL(sse2)
DECL(sse3) DECL(sse3)
DECL(ssse3) DECL(ssse3)
DECL(avx) DECL(avx)
#endif /* HAVE_YASM */
void ff_four_imdct36_float_sse(float *out, float *buf, float *in, float *win, void ff_four_imdct36_float_sse(float *out, float *buf, float *in, float *win,
float *tmpbuf); float *tmpbuf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment