[Mplayer-cvslog] CVS: main/libaf af_resample.c,1.3,1.4

Arpi of Ize arpi at mplayerhq.hu
Thu Oct 3 00:13:28 CEST 2002


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

Modified Files:
	af_resample.c 
Log Message:
100l


Index: af_resample.c
===================================================================
RCS file: /cvsroot/mplayer/main/libaf/af_resample.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- af_resample.c	2 Oct 2002 10:47:18 -0000	1.3
+++ af_resample.c	2 Oct 2002 22:13:14 -0000	1.4
@@ -145,7 +145,7 @@
   uint32_t		up    = s->up;
   uint32_t		dn    = s->dn;
 
-  register uint32_t	i     = 0;
+  register int32_t	i     = 0;
   register uint32_t	wi    = 0;
   register uint32_t	xi    = 0;
   
@@ -162,7 +162,7 @@
 
       ADDQUE(xi,x,in);
       in+=nch;
-      if(!--i){
+      if((--i)<=0){
 	// Run the FIR filter
 	FIR((&x[xi]),(&s->w[wi*L]),out);
 	len++;	out+=nch;




More information about the MPlayer-cvslog mailing list