changeset 7075:b9f7aec2e07d

Fixed *= bug in length calculation
author anders
date Fri, 23 Aug 2002 01:41:12 +0000
parents 136332c7da42
children 3275af5787e0
files libao2/pl_format.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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){