[Mplayer-cvslog] CVS: main/libao2 pl_format.c,1.5,1.6

Anders Johansson anders at mplayerhq.hu
Fri Aug 23 03:41:28 CEST 2002


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

Modified Files:
	pl_format.c 
Log Message:
Fixed *= bug in length calculation

Index: pl_format.c
===================================================================
RCS file: /cvsroot/mplayer/main/libao2/pl_format.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- pl_format.c	30 May 2002 11:53:51 -0000	1.5
+++ pl_format.c	23 Aug 2002 01:41:12 -0000	1.6
@@ -173,7 +173,7 @@
   void* in_data=ao_plugin_data.data;
   void* out_data=pl_format.data;
   int len=(ao_plugin_data.len)>>(pl_format.in&NBITS_MASK);
-  ao_plugin_data.len=(int)(((double)ao_plugin_data.len)*=pl_format.sz_mult);
+  ao_plugin_data.len=(int)(((double)ao_plugin_data.len)*pl_format.sz_mult);
   
   // Change to little endian (Is this true for sun ?)
   if((pl_format.in&END_MASK)!=LE){




More information about the MPlayer-cvslog mailing list