Fix SSE4.2 detection
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 1 Oct 2012 12:22:41 +0000 (14:22 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 1 Oct 2012 12:23:31 +0000 (14:23 +0200)
src/posix/linux_cpu.c

index 9c71a6c..1ef2539 100644 (file)
@@ -87,7 +87,7 @@ static void vlc_CPU_init (void)
             if (!strcmp (cap, "sse4_1"))
                 core_caps |= VLC_CPU_SSE4_1;
             if (!strcmp (cap, "sse4_2"))
-                core_caps |= VLC_CPU_SSE4_1;
+                core_caps |= VLC_CPU_SSE4_2;
             if (!strcmp (cap, "sse4a"))
                 core_caps |= VLC_CPU_SSE4A;
             if (!strcmp (cap, "avx"))