mirror of https://github.com/mpv-player/mpv
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:
parent
7870e19441
commit
2a9ec68ddc
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue