diff options
-rw-r--r-- | libavcodec/dcadec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index c072044..bfbf51a 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -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; } /** |