audio/pcmconv: mistake for double to int conversion (thanks ftrvxmtrx)

This commit is contained in:
cinap_lenrek 2012-12-12 12:20:54 +01:00
parent bedfd8f361
commit 2823498ac3

View file

@ -229,9 +229,9 @@ ficonv(int *dst, uchar *src, int bits, int skip, int count)
}
} else {
while(count--){
float d;
double d;
d = *((float*)src);
d = *((double*)src);
if(d > 1.0)
*dst++ = 0x7fffffff;
else if(d < -1.0)