[vlc-commits] Fix SSE4.2 detection

Jean-Baptiste Kempf git at videolan.org
Mon Oct 1 14:23:35 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Oct  1 14:22:41 2012 +0200| [2a5976f991ab677c857062a9c6211937dcc8a5d5] | committer: Jean-Baptiste Kempf

Fix SSE4.2 detection

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a5976f991ab677c857062a9c6211937dcc8a5d5
---

 src/posix/linux_cpu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/posix/linux_cpu.c b/src/posix/linux_cpu.c
index 9c71a6c..1ef2539 100644
--- a/src/posix/linux_cpu.c
+++ b/src/posix/linux_cpu.c
@@ -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"))



More information about the vlc-commits mailing list