mirror of https://github.com/mpv-player/mpv
Change format string so that the table is nicely aligned.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25892 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7a1f275849
commit
2697136bbb
|
@ -21,7 +21,7 @@ f=fopen("alaw.out","rb");
|
||||||
for(i=0;i<256;i++){
|
for(i=0;i<256;i++){
|
||||||
signed short x;
|
signed short x;
|
||||||
fread(&x,2,1,f);
|
fread(&x,2,1,f);
|
||||||
printf("%6d",x);
|
printf("%7d",x);
|
||||||
if(i!=255) putchar(',');
|
if(i!=255) putchar(',');
|
||||||
if((i&7)==7) printf("\n");
|
if((i&7)==7) printf("\n");
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ f=fopen("alaw.out","rb");
|
||||||
for(i=0;i<256;i++){
|
for(i=0;i<256;i++){
|
||||||
signed short x;
|
signed short x;
|
||||||
fread(&x,2,1,f);
|
fread(&x,2,1,f);
|
||||||
printf("%6d",x);
|
printf("%7d",x);
|
||||||
if(i!=255) putchar(',');
|
if(i!=255) putchar(',');
|
||||||
if((i&7)==7) printf("\n");
|
if((i&7)==7) printf("\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue