summaryrefslogtreecommitdiff
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-30 12:32:54 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-30 12:33:56 +0200
commitc1913064e38cb338039f29c280a0dacc3fd1e451 (patch)
tree8f961cd8a99f61909d6b29ced8979757759640d7 /libavcodec/x86
parent8be0e2bd43d99833c22dd6ce2958b699f9d5a3aa (diff)
avcodec/x86/vp8dsp: Fix cpu flag checks so they work
Broken by 6369ba3c9cc74becfaad2a8882dff3dd3e7ae3c0 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/vp8dsp_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/vp8dsp_init.c b/libavcodec/x86/vp8dsp_init.c
index f5ad8bf934..dca00f575a 100644
--- a/libavcodec/x86/vp8dsp_init.c
+++ b/libavcodec/x86/vp8dsp_init.c
@@ -381,7 +381,7 @@ av_cold void ff_vp8dsp_init_x86(VP8DSPContext* c)
c->put_vp8_bilinear_pixels_tab[0][0][0] = ff_put_vp8_pixels16_sse;
}
- if (EXTERNAL_SSE2(cpu_flags) && (cpu_flags & AV_CPU_FLAG_SSE2SLOW)) {
+ if (HAVE_SSE2_EXTERNAL && cpu_flags & (AV_CPU_FLAG_SSE2 | AV_CPU_FLAG_SSE2SLOW)) {
VP8_LUMA_MC_FUNC(0, 16, sse2);
VP8_MC_FUNC(1, 8, sse2);
VP8_BILINEAR_MC_FUNC(0, 16, sse2);