Mercurial > mplayer.hg
changeset 25863:3bb953467710
The alaw tables should be const.
author | diego |
---|---|
date | Sun, 27 Jan 2008 18:38:47 +0000 |
parents | 4be9faee0360 |
children | ae6c30322f95 |
files | TOOLS/alaw-gen.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/TOOLS/alaw-gen.c Sun Jan 27 18:23:03 2008 +0000 +++ b/TOOLS/alaw-gen.c Sun Jan 27 18:38:47 2008 +0000 @@ -15,7 +15,7 @@ printf("// Generated by TOOLS/alaw-gen.c\n"); -printf("\nshort alaw2short[]={\n"); +printf("\nconst short alaw2short[]={\n"); f=fopen("alaw.out","rb"); for(i=0;i<256;i++){ @@ -30,7 +30,7 @@ system("sox -t raw -U -r 8000 -b alaw.dat -t sw alaw.out"); -printf("\nshort ulaw2short[]={\n"); +printf("\nconst short ulaw2short[]={\n"); f=fopen("alaw.out","rb"); for(i=0;i<256;i++){