]> git.sesse.net Git - vlc/commitdiff
- fixed SDL compilation, thanks to Colin.
authorSam Hocevar <sam@videolan.org>
Mon, 26 Mar 2001 19:06:18 +0000 (19:06 +0000)
committerSam Hocevar <sam@videolan.org>
Mon, 26 Mar 2001 19:06:18 +0000 (19:06 +0000)
  - disabled Altivec iDCT until it works.

Makefile.in
plugins/idct/idctaltivec.c

index 7641d023eccec4ca547e5b40552c721b0a91e119..8b95020fc2a6dd1fc31583d968c759f3c398449a 100644 (file)
@@ -753,7 +753,11 @@ lib/sdl.so: $(PLUGIN_SDL)
        $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) $(LIB_SDL)
 
 lib/ts.so: $(PLUGIN_TS)
+ifeq ($(SYS),darwin)
+       $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) -framework AGL -framework Carbon
+else
        $(CC) $(PCFLAGS) -o $@ $^ $(PLCFLAGS) 
+endif
 
 lib/x11.so: $(PLUGIN_X11)
 ifeq ($(SYS),nto-qnx)
index 486f5968ed05030553acdc982b8c022108a2663d..1cb3d8fba50b1b82e742c428cbfa8293b6280bab 100644 (file)
@@ -2,7 +2,7 @@
  * idctaltivec.c : Altivec IDCT module
  *****************************************************************************
  * Copyright (C) 1999, 2000 VideoLAN
- * $Id: idctaltivec.c,v 1.2 2001/03/21 02:58:29 sam Exp $
+ * $Id: idctaltivec.c,v 1.3 2001/03/26 19:06:18 sam Exp $
  *
  * Authors: Christophe Massiot <massiot@via.ecp.fr>
  *
@@ -148,7 +148,8 @@ static int idct_Probe( probedata_t *p_data )
         }
         else
         {
-            return( 200 );
+            /* The Altivec iDCT is deactivated until it really works */
+            return( 0 /* 200 */ );
         }
     }
     else