[MPlayer-cvslog] r25891 - trunk/TOOLS/alaw-gen.c
diego
subversion at mplayerhq.hu
Sun Jan 27 19:38:47 CET 2008
Author: diego
Date: Sun Jan 27 19:38:47 2008
New Revision: 25891
Log:
The alaw tables should be const.
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:38:47 2008
@@ -15,7 +15,7 @@ system("sox -t raw -A -r 8000 -b alaw.da
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 @@ printf("};\n");
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++){
More information about the MPlayer-cvslog
mailing list