summaryrefslogtreecommitdiff
path: root/libswscale/rgb2rgb.c
diff options
context:
space:
mode:
authortateu <qtmb@tateuDOTnet>2011-04-27 01:50:50 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-04-27 01:52:36 +0200
commit93c28a55fd84280d97c3c0dd7b0d546043242c34 (patch)
tree671ed5c740bf144114442f09b4d338b7d033c7be /libswscale/rgb2rgb.c
parent075933a0687974fca74d6d4ac388d24766d8dc78 (diff)
downloadffmpeg-93c28a55fd84280d97c3c0dd7b0d546043242c34.tar.gz
Fix runtime CPU detection in libswscale.
Diffstat (limited to 'libswscale/rgb2rgb.c')
-rw-r--r--libswscale/rgb2rgb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c
index a5cebcfb35..adc5d59c8c 100644
--- a/libswscale/rgb2rgb.c
+++ b/libswscale/rgb2rgb.c
@@ -199,7 +199,7 @@ DECLARE_ASM_CONST(8, uint64_t, blue_15mask) = 0x0000001f0000001fULL;
void sws_rgb2rgb_init(int flags)
{
-#if HAVE_MMX2 || HAVE_AMD3DNOW || HAVE_MMX
+#if HAVE_SSE2 || HAVE_MMX2 || HAVE_AMD3DNOW || HAVE_MMX
if (flags & SWS_CPU_CAPS_SSE2)
rgb2rgb_init_SSE2();
else if (flags & SWS_CPU_CAPS_MMX2)