[MPlayer-cvslog] r30652 - in trunk/TOOLS/realcodecs: cook.c drv2.c drv3.c sipr.c

diego subversion at mplayerhq.hu
Fri Feb 19 10:46:31 CET 2010


Author: diego
Date: Fri Feb 19 10:46:31 2010
New Revision: 30652

Log:
TOOLS/realcodecs: Remove pointless '#if 1' preprocessor directives.

Modified:
   trunk/TOOLS/realcodecs/cook.c
   trunk/TOOLS/realcodecs/drv2.c
   trunk/TOOLS/realcodecs/drv3.c
   trunk/TOOLS/realcodecs/sipr.c

Modified: trunk/TOOLS/realcodecs/cook.c
==============================================================================
--- trunk/TOOLS/realcodecs/cook.c	Fri Feb 19 10:41:55 2010	(r30651)
+++ trunk/TOOLS/realcodecs/cook.c	Fri Feb 19 10:46:31 2010	(r30652)
@@ -395,7 +395,6 @@ ulong RASetFlavor(ulong p1,ulong p2) {
 	result=(*raSetFlavor)(p1,p2);
 	fprintf(stderr, "--> 0x%0lx(%ld)\n\n\n", result, result);
 
-#if 1
 	fputs("######################## FLAVOR PROPERTIES ###################\n\n", stderr);
 	numflavors=raGetNumberOfFlavors2();
 	flavor=0;
@@ -413,7 +412,6 @@ ulong RASetFlavor(ulong p1,ulong p2) {
 	}
 
 	fputs("######################## FLAVOR PROPERTIES ###################\n\n", stderr);
-#endif
 
 	return result;
 }

Modified: trunk/TOOLS/realcodecs/drv2.c
==============================================================================
--- trunk/TOOLS/realcodecs/drv2.c	Fri Feb 19 10:41:55 2010	(r30651)
+++ trunk/TOOLS/realcodecs/drv2.c	Fri Feb 19 10:46:31 2010	(r30652)
@@ -205,12 +205,10 @@ ulong RV20toYUV420CustomMessage(ulong* p
 */
 
 	if(p1[0]==0x24){
-#if 1
 	    hexdump(p1[2],64);
 	    memset(temp,0x77,16*4);
 	    memcpy(temp,p1[2],16);
 	    p1[2]=temp;
-#endif
 	} else {
 	    switch(p1[0]){
 	    case 17:

Modified: trunk/TOOLS/realcodecs/drv3.c
==============================================================================
--- trunk/TOOLS/realcodecs/drv3.c	Fri Feb 19 10:41:55 2010	(r30651)
+++ trunk/TOOLS/realcodecs/drv3.c	Fri Feb 19 10:46:31 2010	(r30652)
@@ -192,7 +192,6 @@ ulong RV20toYUV420CustomMessage(ulong* p
 //	ulong *pp1=p1;
 	ulong temp[16];
 	fprintf(stderr, "#R# => RV20toYUV420CustomMessage(%p,%p) [%ld,%ld,%ld] \n", p1, p2, p1[0],p1[1],p1[2]);
-#if 1
 	if(p1[0]==0x24){
 	    hexdump(p1[2],16);
 	    memset(temp,0x77,16*4);
@@ -201,7 +200,6 @@ ulong RV20toYUV420CustomMessage(ulong* p
 	} else {
 	    return 0;
 	}
-#endif
 
 //	fprintf(stderr, "ulong p2=0x%0lx(%ld))\n", p2, p2);
 //	hexdump((void*)p1, 12);

Modified: trunk/TOOLS/realcodecs/sipr.c
==============================================================================
--- trunk/TOOLS/realcodecs/sipr.c	Fri Feb 19 10:41:55 2010	(r30651)
+++ trunk/TOOLS/realcodecs/sipr.c	Fri Feb 19 10:46:31 2010	(r30652)
@@ -426,7 +426,6 @@ ulong RASetFlavor(ulong p1,ulong p2,ulon
 	result=(*raSetFlavor)(p1,p2,p3);
 	fprintf(stderr, "--> 0x%0lx(%ld)\n\n\n", result, result);
 
-#if 1
 	fputs("######################## FLAVOR PROPERTIES ###################\n\n", stderr);
 	numflavors=3;//raGetNumberOfFlavors();
 	flavor=0;
@@ -444,7 +443,6 @@ ulong RASetFlavor(ulong p1,ulong p2,ulon
 	}
 
 	fputs("######################## FLAVOR PROPERTIES ###################\n\n", stderr);
-#endif
 
 	return result;
 }


More information about the MPlayer-cvslog mailing list