diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-30 12:32:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-30 12:34:52 +0200 |
commit | 7fb758cd8ed08e4a37f10e25003953d13c68b8cd (patch) | |
tree | 50f0c8b3675db7b209510669e1e4f2ce1a25b2cc /libavcodec | |
parent | c1913064e38cb338039f29c280a0dacc3fd1e451 (diff) | |
download | ffmpeg-7fb758cd8ed08e4a37f10e25003953d13c68b8cd.tar.gz |
avcodec/x86/lpc: Fix cpu flag checks so they work
Broken by 6369ba3c9cc74becfaad2a8882dff3dd3e7ae3c0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/x86/lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/lpc.c b/libavcodec/x86/lpc.c index f4dd189b9f..8a74755d1b 100644 --- a/libavcodec/x86/lpc.c +++ b/libavcodec/x86/lpc.c @@ -151,7 +151,7 @@ av_cold void ff_lpc_init_x86(LPCContext *c) #if HAVE_SSE2_INLINE int cpu_flags = av_get_cpu_flags(); - if (INLINE_SSE2(cpu_flags) && (cpu_flags & AV_CPU_FLAG_SSE2SLOW)) { + if (HAVE_SSE2_INLINE && cpu_flags & (AV_CPU_FLAG_SSE2 | AV_CPU_FLAG_SSE2SLOW)) { c->lpc_apply_welch_window = lpc_apply_welch_window_sse2; c->lpc_compute_autocorr = lpc_compute_autocorr_sse2; } |