aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-09 19:32:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-09 19:32:41 +0200
commit06f576c4ab3bf21d26c7ea496e836a5fe7a10f87 (patch)
treed73e3b5663a3efe9891284125171dd8e53619eaa
parent2d3842f541bd25512130bf910a051d9ffece44dd (diff)
downloadffmpeg-06f576c4ab3bf21d26c7ea496e836a5fe7a10f87.tar.gz
avcodec/x86/dct_init: fix build failure with clang && disable-optimizations
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/x86/dct_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/dct_init.c b/libavcodec/x86/dct_init.c
index fd6ef4553f..30c8f12bf2 100644
--- a/libavcodec/x86/dct_init.c
+++ b/libavcodec/x86/dct_init.c
@@ -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;