audio/pcmconv: fix accidental cast to float instead of double
This commit is contained in:
parent
19d6a98038
commit
f44cfeb7d7
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ ficonv(int *dst, uchar *src, int bits, int skip, int count)
|
|||
else if(d < -1.0)
|
||||
*dst++ = MININT;
|
||||
else
|
||||
*dst++ = d*((float)MAXINT);
|
||||
*dst++ = d*((double)MAXINT);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue