From d82547acd3173316a741733c7f946eabf29b7bc6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Sep 2014 22:34:08 +0200 Subject: decoder/flac: pass VorbisComment to flac_parse_replay_gain() --- 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 2c3c496a6..4628ad4a2 100644 --- a/src/decoder/plugins/FlacMetadata.cxx +++ b/src/decoder/plugins/FlacMetadata.cxx @@ -55,11 +55,8 @@ vorbis_comment_value(const FLAC__StreamMetadata *block, bool flac_parse_replay_gain(ReplayGainInfo &rgi, - const FLAC__StreamMetadata *block) + const FLAC__StreamMetadata_VorbisComment &vc) { - const FLAC__StreamMetadata_VorbisComment &vc = - block->data.vorbis_comment; - rgi.Clear(); bool found = false; -- cgit v1.2.3