[MPlayer-cvslog] r26481 - in trunk/TOOLS/realcodecs: 14_4.c 28_8.c cook.c drv2.c drv3.c drv4.c ra.c rv30.c

diego subversion at mplayerhq.hu
Mon Apr 21 07:43:50 CEST 2008


Author: diego
Date: Mon Apr 21 07:43:49 2008
New Revision: 26481

Log:
Remove pointless '0' flag from fprintf call, fixes the warning:
warning: '0' flag ignored with precision and '%d' printf format


Modified:
   trunk/TOOLS/realcodecs/14_4.c
   trunk/TOOLS/realcodecs/28_8.c
   trunk/TOOLS/realcodecs/cook.c
   trunk/TOOLS/realcodecs/drv2.c
   trunk/TOOLS/realcodecs/drv3.c
   trunk/TOOLS/realcodecs/drv4.c
   trunk/TOOLS/realcodecs/ra.c
   trunk/TOOLS/realcodecs/rv30.c

Modified: trunk/TOOLS/realcodecs/14_4.c
==============================================================================
--- trunk/TOOLS/realcodecs/14_4.c	(original)
+++ trunk/TOOLS/realcodecs/14_4.c	Mon Apr 21 07:43:49 2008
@@ -114,7 +114,7 @@ void toc() {
 		usecs+=1000000;
 		--secs;
 	}
-	fprintf(stderr, "Duration: %ld.%0.6lds\n", secs, usecs);
+	fprintf(stderr, "Duration: %ld.%.6lds\n", secs, usecs);
 }
 
 

Modified: trunk/TOOLS/realcodecs/28_8.c
==============================================================================
--- trunk/TOOLS/realcodecs/28_8.c	(original)
+++ trunk/TOOLS/realcodecs/28_8.c	Mon Apr 21 07:43:49 2008
@@ -114,7 +114,7 @@ void toc() {
 		usecs+=1000000;
 		--secs;
 	}
-	fprintf(stderr, "Duration: %ld.%0.6lds\n", secs, usecs);
+	fprintf(stderr, "Duration: %ld.%.6lds\n", secs, usecs);
 }
 
 

Modified: trunk/TOOLS/realcodecs/cook.c
==============================================================================
--- trunk/TOOLS/realcodecs/cook.c	(original)
+++ trunk/TOOLS/realcodecs/cook.c	Mon Apr 21 07:43:49 2008
@@ -161,7 +161,7 @@ void toc() {
 		usecs+=1000000;
 		--secs;
 	}
-	fprintf(stderr, "Duration: %ld.%0.6lds\n", secs, usecs);
+	fprintf(stderr, "Duration: %ld.%.6lds\n", secs, usecs);
 }
 
 

Modified: trunk/TOOLS/realcodecs/drv2.c
==============================================================================
--- trunk/TOOLS/realcodecs/drv2.c	(original)
+++ trunk/TOOLS/realcodecs/drv2.c	Mon Apr 21 07:43:49 2008
@@ -138,7 +138,7 @@ void toc() {
 		usecs+=1000000;
 		--secs;
 	}
-//	fprintf(stderr, "Duration: %ld.%0.6lds\n", secs, usecs);
+//	fprintf(stderr, "Duration: %ld.%.6lds\n", secs, usecs);
 }
 
 

Modified: trunk/TOOLS/realcodecs/drv3.c
==============================================================================
--- trunk/TOOLS/realcodecs/drv3.c	(original)
+++ trunk/TOOLS/realcodecs/drv3.c	Mon Apr 21 07:43:49 2008
@@ -138,7 +138,7 @@ void toc() {
 		usecs+=1000000;
 		--secs;
 	}
-//	fprintf(stderr, "Duration: %ld.%0.6lds\n", secs, usecs);
+//	fprintf(stderr, "Duration: %ld.%.6lds\n", secs, usecs);
 }
 
 

Modified: trunk/TOOLS/realcodecs/drv4.c
==============================================================================
--- trunk/TOOLS/realcodecs/drv4.c	(original)
+++ trunk/TOOLS/realcodecs/drv4.c	Mon Apr 21 07:43:49 2008
@@ -110,7 +110,7 @@ void toc() {
 		usecs+=1000000;
 		--secs;
 	}
-//	fprintf(stderr, "Duration: %ld.%0.6lds\n", secs, usecs);
+//	fprintf(stderr, "Duration: %ld.%.6lds\n", secs, usecs);
 }
 
 

Modified: trunk/TOOLS/realcodecs/ra.c
==============================================================================
--- trunk/TOOLS/realcodecs/ra.c	(original)
+++ trunk/TOOLS/realcodecs/ra.c	Mon Apr 21 07:43:49 2008
@@ -160,7 +160,7 @@ void toc() {
 		usecs+=1000000;
 		--secs;
 	}
-	fprintf(stderr, "Duration: %ld.%0.6lds\n", secs, usecs);
+	fprintf(stderr, "Duration: %ld.%.6lds\n", secs, usecs);
 }
 
 

Modified: trunk/TOOLS/realcodecs/rv30.c
==============================================================================
--- trunk/TOOLS/realcodecs/rv30.c	(original)
+++ trunk/TOOLS/realcodecs/rv30.c	Mon Apr 21 07:43:49 2008
@@ -189,7 +189,7 @@ void toc() {
 		usecs+=1000000;
 		--secs;
 	}
-	fprintf(stderr, "Duration: %ld.%0.6lds\n", secs, usecs);
+	fprintf(stderr, "Duration: %ld.%.6lds\n", secs, usecs);
 }
 
 



More information about the MPlayer-cvslog mailing list