aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/FlacMetadata.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-09-24 22:50:28 +0200
committerMax Kellermann <max@duempel.org>2014-09-24 22:50:28 +0200
commitf32d34b9650b34726f002ea067673d565bf6f4bb (patch)
treef7f80e409263febc789f422dd020dd3cb562329d /src/decoder/plugins/FlacMetadata.cxx
parent8a7ff6a6fd70d6a8e7611ffb0f794fb3eab2a462 (diff)
downloadmpd-f32d34b9650b34726f002ea067673d565bf6f4bb.tar.gz
mpd-f32d34b9650b34726f002ea067673d565bf6f4bb.tar.xz
mpd-f32d34b9650b34726f002ea067673d565bf6f4bb.zip
decoder/flac: pass VorbisComment to flac_parse_mixramp()
Diffstat (limited to 'src/decoder/plugins/FlacMetadata.cxx')
-rw-r--r--src/decoder/plugins/FlacMetadata.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/decoder/plugins/FlacMetadata.cxx b/src/decoder/plugins/FlacMetadata.cxx
index f917a8fcc..03e276dce 100644
--- a/src/decoder/plugins/FlacMetadata.cxx
+++ b/src/decoder/plugins/FlacMetadata.cxx
@@ -50,11 +50,8 @@ flac_parse_replay_gain(ReplayGainInfo &rgi,
}
MixRampInfo
-flac_parse_mixramp(const FLAC__StreamMetadata *block)
+flac_parse_mixramp(const FLAC__StreamMetadata_VorbisComment &vc)
{
- const FLAC__StreamMetadata_VorbisComment &vc =
- block->data.vorbis_comment;
-
MixRampInfo mix_ramp;
const auto *comments = vc.comments;