Fixed *= bug in length calculation

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7076 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
anders 2002-08-23 01:41:12 +00:00
parent 7870e19441
commit 2a9ec68ddc
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ static int play(){
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){