Commit 6b88f22e authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dcadec: dont use hex float, msvc doesnt support it

Found-by: nevcairiel
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9ccb5455
......@@ -2107,7 +2107,8 @@ static float dca_dmix_code(unsigned code)
{
int sign = (code >> 8) - 1;
code &= 0xff;
return ((dca_dmixtable[code] ^ sign) - sign) * 0x1p-15;
#define POW2_MINUS15 .000030517578125
return ((dca_dmixtable[code] ^ sign) - sign) * POW2_MINUS15;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment