[Mplayer-cvslog] CVS: main/libao2 ao_arts.c,1.2,1.3 pl_eq.c,1.5,1.6 pl_resample.c,1.8,1.9 pl_surround.c,1.11,1.12

Arpi of Ize arpi at mplayerhq.hu
Thu Nov 7 00:54:57 CET 2002


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

Modified Files:
	ao_arts.c pl_eq.c pl_resample.c pl_surround.c 
Log Message:
*HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik at rangers.eu.org>


Index: ao_arts.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/ao_arts.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ao_arts.c	26 Jul 2002 00:02:31 -0000	1.2
+++ ao_arts.c	6 Nov 2002 23:54:23 -0000	1.3
@@ -44,7 +44,7 @@
 	int err;
 	int frag_spec;
 
-	if(err=arts_init()) {
+	if( (err=arts_init()) ) {
 		mp_msg(MSGT_AO, MSGL_ERR, "AO: [arts] %s\n", arts_error_text(err));
 		return 0;
 	}

Index: pl_eq.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/pl_eq.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- pl_eq.c	26 Sep 2002 10:12:50 -0000	1.5
+++ pl_eq.c	6 Nov 2002 23:54:23 -0000	1.6
@@ -118,7 +118,7 @@
 // open & setup audio device
 // return: 1=success 0=fail
 static int init(){
-  int   c,k   = 0;
+  int   k   = 0;
   float F[KM] = CF;
   
   // Check input format

Index: pl_resample.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/pl_resample.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- pl_resample.c	22 Sep 2002 02:33:24 -0000	1.8
+++ pl_resample.c	6 Nov 2002 23:54:23 -0000	1.9
@@ -160,6 +160,10 @@
 static void reset(){
 }
 
+/* forward declarations */
+int upsample();
+int downsample();
+
 // processes 'ao_plugin_data.len' bytes of 'data'
 // called for every block of data
 // FIXME: this routine needs to be optimized (it is probably possible to do a lot here)

Index: pl_surround.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/pl_surround.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- pl_surround.c	30 May 2002 11:53:51 -0000	1.11
+++ pl_surround.c	6 Nov 2002 23:54:23 -0000	1.12
@@ -173,7 +173,7 @@
 };
 
 // Experimental moving average dominances
-static int amp_L = 0, amp_R = 0, amp_C = 0, amp_S = 0;
+//static int amp_L = 0, amp_R = 0, amp_C = 0, amp_S = 0;
 
 // processes 'ao_plugin_data.len' bytes of 'data'
 // called for every block of data




More information about the MPlayer-cvslog mailing list