From f32d34b9650b34726f002ea067673d565bf6f4bb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Sep 2014 22:50:28 +0200 Subject: decoder/flac: pass VorbisComment to flac_parse_mixramp() --- src/decoder/plugins/FlacMetadata.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/decoder/plugins/FlacMetadata.cxx') 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; -- cgit v1.2.3