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/FlacCommon.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder/plugins/FlacCommon.cxx') diff --git a/src/decoder/plugins/FlacCommon.cxx b/src/decoder/plugins/FlacCommon.cxx index 76762bdf9..74eaf4909 100644 --- a/src/decoder/plugins/FlacCommon.cxx +++ b/src/decoder/plugins/FlacCommon.cxx @@ -98,7 +98,7 @@ void flac_metadata_common_cb(const FLAC__StreamMetadata * block, break; case FLAC__METADATA_TYPE_VORBIS_COMMENT: - if (flac_parse_replay_gain(rgi, block)) + if (flac_parse_replay_gain(rgi, block->data.vorbis_comment)) decoder_replay_gain(data->decoder, &rgi); decoder_mixramp(data->decoder, flac_parse_mixramp(block)); -- cgit v1.2.3