aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/mpegaudiodec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-09-01 10:59:16 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-09-01 10:59:16 +0200
commita26789cf9f8000a040a4f4481e0f3552cf63dc68 (patch)
treeddbaa9b84e427c4538745673c3755b05e3ef6e3d /libavcodec/x86/mpegaudiodec.c
parentd55252c33156a53dae8e1beba73b163724dec8cf (diff)
downloadffmpeg-a26789cf9f8000a040a4f4481e0f3552cf63dc68.tar.gz
Fix compilation with yasm-0.6.2.
Diffstat (limited to 'libavcodec/x86/mpegaudiodec.c')
-rw-r--r--libavcodec/x86/mpegaudiodec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/mpegaudiodec.c b/libavcodec/x86/mpegaudiodec.c
index 8da3e02b78..c716af2ea2 100644
--- a/libavcodec/x86/mpegaudiodec.c
+++ b/libavcodec/x86/mpegaudiodec.c
@@ -221,7 +221,7 @@ DECL_IMDCT_BLOCKS(sse2,sse)
DECL_IMDCT_BLOCKS(sse3,sse)
DECL_IMDCT_BLOCKS(ssse3,sse)
#endif
-#if HAVE_AVX
+#if HAVE_AVX_EXTERNAL
DECL_IMDCT_BLOCKS(avx,avx)
#endif
#endif /* HAVE_YASM */
@@ -251,7 +251,7 @@ void ff_mpadsp_init_mmx(MPADSPContext *s)
#endif /* HAVE_INLINE_ASM */
#if HAVE_YASM
if (0) {
-#if HAVE_AVX
+#if HAVE_AVX_EXTERNAL
} else if (mm_flags & AV_CPU_FLAG_AVX && HAVE_AVX) {
s->imdct36_blocks_float = imdct36_blocks_avx;
#endif