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/FlacCommon.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/decoder/plugins/FlacCommon.cxx') diff --git a/src/decoder/plugins/FlacCommon.cxx b/src/decoder/plugins/FlacCommon.cxx index 74eaf4909..e86f85569 100644 --- a/src/decoder/plugins/FlacCommon.cxx +++ b/src/decoder/plugins/FlacCommon.cxx @@ -101,7 +101,8 @@ void flac_metadata_common_cb(const FLAC__StreamMetadata * 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)); + decoder_mixramp(data->decoder, + flac_parse_mixramp(block->data.vorbis_comment)); data->tag = flac_vorbis_comments_to_tag(&block->data.vorbis_comment); break; -- cgit v1.2.3