[vlc-devel] commit: Used the proper define in SSE2 detection code. (Laurent Aimar )

git version control git at videolan.org
Tue Nov 24 19:53:56 CET 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Nov 23 20:00:04 2009 +0100| [8c6b569c4bc433a51a76440780fc33c605b95ffa] | committer: Laurent Aimar 

Used the proper define in SSE2 detection code.

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

 src/misc/cpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/misc/cpu.c b/src/misc/cpu.c
index 5cce13f..8d7de46 100644
--- a/src/misc/cpu.c
+++ b/src/misc/cpu.c
@@ -187,7 +187,7 @@ uint32_t CPUCapabilities( void )
 
 # if defined (__SSE2__)
     i_capabilities |= CPU_CAPABILITY_SSE2;
-# elif defined (CAN_COMPILE_SSE)
+# elif defined (CAN_COMPILE_SSE2)
     if( i_edx & 0x04000000 )
         check_capability( "SSE2", CPU_CAPABILITY_SSE2,
                           "movupd %%xmm0, %%xmm0\n" );




More information about the vlc-devel mailing list