[MPlayer-cvslog] r25892 - trunk/TOOLS/alaw-gen.c

diego subversion at mplayerhq.hu
Sun Jan 27 19:40:01 CET 2008


Author: diego
Date: Sun Jan 27 19:40:01 2008
New Revision: 25892

Log:
Change format string so that the table is nicely aligned.


Modified:
   trunk/TOOLS/alaw-gen.c

Modified: trunk/TOOLS/alaw-gen.c
==============================================================================
--- trunk/TOOLS/alaw-gen.c	(original)
+++ trunk/TOOLS/alaw-gen.c	Sun Jan 27 19:40:01 2008
@@ -21,7 +21,7 @@ f=fopen("alaw.out","rb");
 for(i=0;i<256;i++){
   signed short x;
   fread(&x,2,1,f);
-  printf("%6d",x);
+  printf("%7d",x);
   if(i!=255) putchar(',');
   if((i&7)==7) printf("\n");
 }
@@ -36,7 +36,7 @@ f=fopen("alaw.out","rb");
 for(i=0;i<256;i++){
   signed short x;
   fread(&x,2,1,f);
-  printf("%6d",x);
+  printf("%7d",x);
   if(i!=255) putchar(',');
   if((i&7)==7) printf("\n");
 }



More information about the MPlayer-cvslog mailing list