diff options
author | Max Kellermann <max@duempel.org> | 2014-09-24 22:34:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-09-24 22:34:08 +0200 |
commit | d82547acd3173316a741733c7f946eabf29b7bc6 (patch) | |
tree | 3210f4d474c53b0b60d845baaf760da7fb78f525 /src/decoder/plugins/FlacCommon.cxx | |
parent | 441f9cc2ee1e62be0d5869c247aecff78c2ca3c6 (diff) | |
download | mpd-d82547acd3173316a741733c7f946eabf29b7bc6.tar.gz mpd-d82547acd3173316a741733c7f946eabf29b7bc6.tar.xz mpd-d82547acd3173316a741733c7f946eabf29b7bc6.zip |
decoder/flac: pass VorbisComment to flac_parse_replay_gain()
Diffstat (limited to 'src/decoder/plugins/FlacCommon.cxx')
-rw-r--r-- | src/decoder/plugins/FlacCommon.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |