diff libao2/pl_format.c @ 7075:b9f7aec2e07d

Fixed *= bug in length calculation
author anders
date Fri, 23 Aug 2002 01:41:12 +0000
parents 2eec40929570
children 420e2b2f8e5a
line wrap: on
line diff
--- a/libao2/pl_format.c	Thu Aug 22 23:41:51 2002 +0000
+++ b/libao2/pl_format.c	Fri Aug 23 01:41:12 2002 +0000
@@ -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){