diff options
author | Matt Oliver <protogonoi@gmail.com> | 2014-05-06 14:42:38 +1000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-06 14:15:02 +0200 |
commit | ac9869ffb070dce0968f338554f932dda2f8314c (patch) | |
tree | 039fd9435402851ecf4524e5f013431ad8fa90dc | |
parent | 38b722e7d71c30d9c4c7e95383f0cacbaa9144ef (diff) | |
download | ffmpeg-streaming-ac9869ffb070dce0968f338554f932dda2f8314c.zip ffmpeg-streaming-ac9869ffb070dce0968f338554f932dda2f8314c.tar.gz |
x86/mpegaudiodsp.c: msvc compilation error without sse/avx_external
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/x86/mpegaudiodsp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/mpegaudiodsp.c b/libavcodec/x86/mpegaudiodsp.c index 163f84b..2723167 100644 --- a/libavcodec/x86/mpegaudiodsp.c +++ b/libavcodec/x86/mpegaudiodsp.c @@ -262,6 +262,7 @@ av_cold void ff_mpadsp_init_x86(MPADSPContext *s) #endif /* HAVE_SSE_INLINE */ #if HAVE_YASM +#if HAVE_SSE #if ARCH_X86_32 if (EXTERNAL_SSE(cpu_flags)) { s->imdct36_blocks_float = imdct36_blocks_sse; @@ -276,8 +277,11 @@ av_cold void ff_mpadsp_init_x86(MPADSPContext *s) if (EXTERNAL_SSSE3(cpu_flags)) { s->imdct36_blocks_float = imdct36_blocks_ssse3; } +#endif +#if HAVE_AVX_EXTERNAL if (EXTERNAL_AVX(cpu_flags)) { s->imdct36_blocks_float = imdct36_blocks_avx; } +#endif #endif /* HAVE_YASM */ } |