diff options
Diffstat (limited to '')
-rw-r--r-- | src/decoder/WavpackDecoderPlugin.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/decoder/WavpackDecoderPlugin.cxx b/src/decoder/WavpackDecoderPlugin.cxx index 62934713f..98555c5e8 100644 --- a/src/decoder/WavpackDecoderPlugin.cxx +++ b/src/decoder/WavpackDecoderPlugin.cxx @@ -224,10 +224,9 @@ static bool wavpack_replaygain(ReplayGainInfo &rgi, WavpackContext *wpc) { - bool found = false; - - replay_gain_info_init(&rgi); + rgi.Clear(); + bool found = false; found |= wavpack_tag_float(wpc, "replaygain_track_gain", &rgi.tuples[REPLAY_GAIN_TRACK].gain); found |= wavpack_tag_float(wpc, "replaygain_track_peak", |