Commit 06f576c4 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/x86/dct_init: fix build failure with clang && disable-optimizations

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2d3842f5
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment