avcodec/x86/dct_init: fix build failure with clang && disable-optimizations
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Jun 2014 17:32:41 +0000 (19:32 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 9 Jun 2014 17:32:41 +0000 (19:32 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/dct_init.c

index fd6ef45..30c8f12 100644 (file)
@@ -30,7 +30,7 @@ av_cold void ff_dct_init_x86(DCTContext *s)
 {
     int cpu_flags = av_get_cpu_flags();
 
-    if (EXTERNAL_SSE(cpu_flags) && ARCH_X86_32)
+    if (ARCH_X86_32 && EXTERNAL_SSE(cpu_flags))
         s->dct32 = ff_dct32_float_sse;
     if (EXTERNAL_SSE2(cpu_flags))
         s->dct32 = ff_dct32_float_sse2;