[Mplayer-cvslog] CVS: main/mp3lib layer3.c,1.3,1.4

Alex Beregszaszi alex at mplayerhq.hu
Sun Jun 22 01:45:26 CEST 2003


Update of /cvsroot/mplayer/main/mp3lib
In directory mail:/var/tmp.root/cvs-serv7948

Modified Files:
	layer3.c 
Log Message:
fixed bandInfo name clash with libmp3lame v3.93.1 (longLimit and shortLimit are also only used in layer3.c so it's safe to make them static too - avoiding further clashes)

Index: layer3.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/layer3.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- layer3.c	29 Jun 2001 17:53:53 -0000	1.3
+++ layer3.c	21 Jun 2003 23:45:07 -0000	1.4
@@ -37,10 +37,10 @@
   int shortDiff[13];
 };
 
-int longLimit[9][23];
-int shortLimit[9][14];
+static int longLimit[9][23];
+static int shortLimit[9][14];
 
-struct bandInfoStruct bandInfo[9] = {
+static struct bandInfoStruct bandInfo[9] = {
 
 /* MPEG 1.0 */
  { {0,4,8,12,16,20,24,30,36,44,52,62,74, 90,110,134,162,196,238,288,342,418,576},



More information about the MPlayer-cvslog mailing list