diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-01-13 21:52:32 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-01-14 03:04:58 +0400 |
commit | 46bacb5cc6169ff5e8e982495c4925467c1d8bb7 (patch) | |
tree | 57b5d6c428fc251315c868953171bf0d2f901111 /libswscale/x86/swscale.c | |
parent | 7151c5d04aed3b496c21f713dcb603e2cbdb9c49 (diff) |
x86: Consistently use cpu flag detection macros in places that still miss it
Diffstat (limited to 'libswscale/x86/swscale.c')
-rw-r--r-- | libswscale/x86/swscale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c index b14d97da66..a2bce48339 100644 --- a/libswscale/x86/swscale.c +++ b/libswscale/x86/swscale.c @@ -307,11 +307,11 @@ av_cold void ff_sws_init_swscale_x86(SwsContext *c) int cpu_flags = av_get_cpu_flags(); #if HAVE_MMX_INLINE - if (cpu_flags & AV_CPU_FLAG_MMX) + if (INLINE_MMX(cpu_flags)) sws_init_swscale_mmx(c); #endif #if HAVE_MMXEXT_INLINE - if (cpu_flags & AV_CPU_FLAG_MMXEXT) + if (INLINE_MMXEXT(cpu_flags)) sws_init_swscale_mmxext(c); #endif |