]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/x86/lpc.c
x86/vp8dsp: add ff_vp8_idct_dc_add_sse2
[ffmpeg] / libavcodec / x86 / lpc.c
index 3a9493f72842045212224170c9b845f3607fcae0..6c72e21bacf2ab88e18fd87559d3ea4d4fc0d5d6 100644 (file)
@@ -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;
     }