[Mplayer-cvslog] CVS: main/libao2 pl_resample.c,1.9,1.10

Arpi of Ize arpi at mplayerhq.hu
Sat Dec 14 18:56:58 CET 2002


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

Modified Files:
	pl_resample.c 
Log Message:
compiler warning fixes
based on patch by Dominik Mierzejewski <dominik at rangers.eu.org>


Index: pl_resample.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/pl_resample.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- pl_resample.c	6 Nov 2002 23:54:23 -0000	1.9
+++ pl_resample.c	14 Dec 2002 17:55:48 -0000	1.10
@@ -171,7 +171,7 @@
   if(pl_resample.up==pl_resample.dn){
     register int16_t*	in    = ((int16_t*)ao_plugin_data.data);
     register int16_t* 	end   = in+ao_plugin_data.len/2;
-    while(in < end) *in=(*in++)>>1;
+    while(in < end) *(in++)>>=1;
     return 1;
   }
   if(pl_resample.up>pl_resample.dn)




More information about the MPlayer-cvslog mailing list