aboutsummaryrefslogtreecommitdiffstats
path: root/src/replay_gain_info.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/replay_gain_info.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/replay_gain_info.c b/src/replay_gain_info.c
index ce9d84950..33e29e8e3 100644
--- a/src/replay_gain_info.c
+++ b/src/replay_gain_info.c
@@ -21,7 +21,6 @@
#include "replay_gain_info.h"
#include <glib.h>
-#include <math.h>
struct replay_gain_info *
replay_gain_info_new(void)
@@ -29,7 +28,7 @@ replay_gain_info_new(void)
struct replay_gain_info *ret = g_new(struct replay_gain_info, 1);
for (unsigned i = 0; i < G_N_ELEMENTS(ret->tuples); ++i) {
- ret->tuples[i].gain = 0.0;
+ ret->tuples[i].gain = INFINITY;
ret->tuples[i].peak = 0.0;
}