decoder/flac: pass VorbisComment to flac_parse_replay_gain()

This commit is contained in:
Max Kellermann
2014-09-24 22:34:08 +02:00
parent 441f9cc2ee
commit d82547acd3
3 changed files with 3 additions and 6 deletions

View File

@@ -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));