x86/mpegaudiodec: drop likely now unneeded #if HAVE_AVX_EXTERNAL
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 18 Sep 2012 14:15:17 +0000 (16:15 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 18 Sep 2012 14:15:17 +0000 (16:15 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/mpegaudiodec.c

index 0842b70..a8b55ae 100644 (file)
@@ -257,12 +257,9 @@ void ff_mpadsp_init_mmx(MPADSPContext *s)
 #endif /* HAVE_SSE2_INLINE */
 
 #if HAVE_YASM
-#if HAVE_AVX_EXTERNAL
     if (EXTERNAL_AVX(mm_flags)) {
         s->imdct36_blocks_float = imdct36_blocks_avx;
-    } else
-#endif
-    if (EXTERNAL_SSSE3(mm_flags)) {
+    } else if (EXTERNAL_SSSE3(mm_flags)) {
         s->imdct36_blocks_float = imdct36_blocks_ssse3;
     } else if (EXTERNAL_SSE3(mm_flags)) {
         s->imdct36_blocks_float = imdct36_blocks_sse3;