diff options
author | James Almer <jamrial@gmail.com> | 2017-01-31 15:08:19 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-01-31 15:08:19 -0300 |
commit | ac774cfa571734c49c26e2d3387adccff8957ff8 (patch) | |
tree | 92011adfe335fe1160bb26b159fd1510d96458f1 /libavcodec/x86/lpc.c | |
parent | a956164e1eb3418922cae949f02ad4035f013213 (diff) | |
parent | 4efab89332ea39a77145e8b15562b981d9dbde68 (diff) |
Merge commit '4efab89332ea39a77145e8b15562b981d9dbde68'
* commit '4efab89332ea39a77145e8b15562b981d9dbde68':
x86: Use *_FAST/*_SLOW CPU feature detection macros where appropriate
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/lpc.c')
-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 3a9493f728..6c72e21bac 100644 --- a/libavcodec/x86/lpc.c +++ b/libavcodec/x86/lpc.c @@ -154,7 +154,7 @@ av_cold void ff_lpc_init_x86(LPCContext *c) #if HAVE_SSE2_INLINE int cpu_flags = av_get_cpu_flags(); - if (HAVE_SSE2_INLINE && cpu_flags & (AV_CPU_FLAG_SSE2 | AV_CPU_FLAG_SSE2SLOW)) { + if (INLINE_SSE2(cpu_flags) || INLINE_SSE2_SLOW(cpu_flags)) { c->lpc_apply_welch_window = lpc_apply_welch_window_sse2; c->lpc_compute_autocorr = lpc_compute_autocorr_sse2; } |