diff options
author | Max Kellermann <max@duempel.org> | 2013-10-30 18:01:45 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-30 18:01:45 +0100 |
commit | 90c899407afce9d6d8370586e7bdbac0d1415563 (patch) | |
tree | 773099c9d6e85a62903e35b338b37ef8c95f76d4 /src/ReplayGainInfo.cxx | |
parent | 55868eecd007994188a29686cc4aea17fc1f680a (diff) | |
download | mpd-90c899407afce9d6d8370586e7bdbac0d1415563.tar.gz mpd-90c899407afce9d6d8370586e7bdbac0d1415563.tar.xz mpd-90c899407afce9d6d8370586e7bdbac0d1415563.zip |
ReplayGainInfo: use large negative value instead of infinity
The last piece to allow -ffast-math.
Diffstat (limited to '')
-rw-r--r-- | src/ReplayGainInfo.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ReplayGainInfo.cxx b/src/ReplayGainInfo.cxx index 7ee788e04..cf6b0ba69 100644 --- a/src/ReplayGainInfo.cxx +++ b/src/ReplayGainInfo.cxx @@ -20,6 +20,8 @@ #include "config.h" #include "ReplayGainInfo.hxx" +#include <math.h> + float ReplayGainTuple::CalculateScale(float preamp, float missing_preamp, bool peak_limit) const |