audio/pcmconv: fix accidental cast to float instead of double

This commit is contained in:
BurnZeZ 2018-05-13 19:58:16 +00:00
parent 19d6a98038
commit f44cfeb7d7

View file

@ -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);
}
}
}