diff options
author | Max Kellermann <max@duempel.org> | 2014-01-08 19:42:04 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-08 19:49:08 +0100 |
commit | bc23a6bb05705d5551117528dfcbfcfedfee4c90 (patch) | |
tree | 2283d2440ffa1bf6313c41ecaa59808032390769 /src/decoder/FlacCommon.cxx | |
parent | ac1983eae32caa7c6f10ec4bab32a9657bdb2668 (diff) | |
download | mpd-bc23a6bb05705d5551117528dfcbfcfedfee4c90.tar.gz mpd-bc23a6bb05705d5551117528dfcbfcfedfee4c90.tar.xz mpd-bc23a6bb05705d5551117528dfcbfcfedfee4c90.zip |
tag/TagBuilder: overload Commit() returning a Tag object
Diffstat (limited to 'src/decoder/FlacCommon.cxx')
-rw-r--r-- | src/decoder/FlacCommon.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/FlacCommon.cxx b/src/decoder/FlacCommon.cxx index e355f285a..b0921056a 100644 --- a/src/decoder/FlacCommon.cxx +++ b/src/decoder/FlacCommon.cxx @@ -103,8 +103,8 @@ void flac_metadata_common_cb(const FLAC__StreamMetadata * block, decoder_mixramp(data->decoder, flac_parse_mixramp(block)); - flac_vorbis_comments_to_tag(data->tag, - &block->data.vorbis_comment); + data->tag = flac_vorbis_comments_to_tag(&block->data.vorbis_comment); + break; default: break; |