]> git.sesse.net Git - vlc/blobdiff - plugins/motion/motionmmxext.c
* AC3 IMDCT and downmix functions are now in plugins, --imdct and
[vlc] / plugins / motion / motionmmxext.c
index e2658ff8fac7fa1654eb09d8b58cc8a6b3b81f8f..702d5533ddba6f9697d022bb6f03930b44df21e6 100644 (file)
@@ -2,7 +2,7 @@
  * motionmmxext.c : MMX EXT motion compensation module for vlc
  *****************************************************************************
  * Copyright (C) 2000 VideoLAN
- * $Id: motionmmxext.c,v 1.4 2001/04/15 04:19:57 sam Exp $
+ * $Id: motionmmxext.c,v 1.5 2001/05/15 16:19:42 sam Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *
@@ -116,20 +116,16 @@ MODULE_DEACTIVATE
  *****************************************************************************/
 int _M( motion_Probe )( probedata_t *p_data )
 {
-    if( TestCPU( CPU_CAPABILITY_MMXEXT ) )
+    if( !TestCPU( CPU_CAPABILITY_MMXEXT ) )
     {
-        if( TestMethod( MOTION_METHOD_VAR, "motionmmxext" ) )
-        {
-            return( 999 );
-        }
-        else
-        {
-            return( 200 );
-        }
+        return( 0 );
     }
-    else
+
+    if( TestMethod( MOTION_METHOD_VAR, "motionmmxext" ) )
     {
-        return( 0 );
+        return( 999 );
     }
+
+    return( 200 );
 }