changeset 30610:b0f5b5d43941

TOOLS/realcodecs: Remove pointless '#if 1' preprocessor directives.
author diego
date Fri, 19 Feb 2010 09:46:31 +0000
parents f4a71b27410b
children 8e3c8ca13b4c
files TOOLS/realcodecs/cook.c TOOLS/realcodecs/drv2.c TOOLS/realcodecs/drv3.c TOOLS/realcodecs/sipr.c
diffstat 4 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/realcodecs/cook.c	Fri Feb 19 09:41:55 2010 +0000
+++ b/TOOLS/realcodecs/cook.c	Fri Feb 19 09:46:31 2010 +0000
@@ -395,7 +395,6 @@
 	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 @@
 	}
 
 	fputs("######################## FLAVOR PROPERTIES ###################\n\n", stderr);
-#endif
 
 	return result;
 }
--- a/TOOLS/realcodecs/drv2.c	Fri Feb 19 09:41:55 2010 +0000
+++ b/TOOLS/realcodecs/drv2.c	Fri Feb 19 09:46:31 2010 +0000
@@ -205,12 +205,10 @@
 */
 
 	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:
--- a/TOOLS/realcodecs/drv3.c	Fri Feb 19 09:41:55 2010 +0000
+++ b/TOOLS/realcodecs/drv3.c	Fri Feb 19 09:46:31 2010 +0000
@@ -192,7 +192,6 @@
 //	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 @@
 	} else {
 	    return 0;
 	}
-#endif
 
 //	fprintf(stderr, "ulong p2=0x%0lx(%ld))\n", p2, p2);
 //	hexdump((void*)p1, 12);
--- a/TOOLS/realcodecs/sipr.c	Fri Feb 19 09:41:55 2010 +0000
+++ b/TOOLS/realcodecs/sipr.c	Fri Feb 19 09:46:31 2010 +0000
@@ -426,7 +426,6 @@
 	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 @@
 	}
 
 	fputs("######################## FLAVOR PROPERTIES ###################\n\n", stderr);
-#endif
 
 	return result;
 }