Commit ac9869ff authored by Matt Oliver's avatar Matt Oliver Committed by Michael Niedermayer

x86/mpegaudiodsp.c: msvc compilation error without sse/avx_external

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 38b722e7
...@@ -262,6 +262,7 @@ av_cold void ff_mpadsp_init_x86(MPADSPContext *s) ...@@ -262,6 +262,7 @@ av_cold void ff_mpadsp_init_x86(MPADSPContext *s)
#endif /* HAVE_SSE_INLINE */ #endif /* HAVE_SSE_INLINE */
#if HAVE_YASM #if HAVE_YASM
#if HAVE_SSE
#if ARCH_X86_32 #if ARCH_X86_32
if (EXTERNAL_SSE(cpu_flags)) { if (EXTERNAL_SSE(cpu_flags)) {
s->imdct36_blocks_float = imdct36_blocks_sse; s->imdct36_blocks_float = imdct36_blocks_sse;
...@@ -276,8 +277,11 @@ av_cold void ff_mpadsp_init_x86(MPADSPContext *s) ...@@ -276,8 +277,11 @@ av_cold void ff_mpadsp_init_x86(MPADSPContext *s)
if (EXTERNAL_SSSE3(cpu_flags)) { if (EXTERNAL_SSSE3(cpu_flags)) {
s->imdct36_blocks_float = imdct36_blocks_ssse3; s->imdct36_blocks_float = imdct36_blocks_ssse3;
} }
#endif
#if HAVE_AVX_EXTERNAL
if (EXTERNAL_AVX(cpu_flags)) { if (EXTERNAL_AVX(cpu_flags)) {
s->imdct36_blocks_float = imdct36_blocks_avx; s->imdct36_blocks_float = imdct36_blocks_avx;
} }
#endif
#endif /* HAVE_YASM */ #endif /* HAVE_YASM */
} }
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