aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/oggflac_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-10 21:58:19 +0100
committerMax Kellermann <max@duempel.org>2009-11-10 21:58:19 +0100
commite51d9fc6a9902c2ef448abf8f1151964a441d788 (patch)
tree274cf5d11b3db0d2661919ad828f6e0d62d67c23 /src/decoder/oggflac_plugin.c
parent2f69831fb8a0ad13236e91b3edbbcd0a7658a5bf (diff)
downloadmpd-e51d9fc6a9902c2ef448abf8f1151964a441d788.tar.gz
mpd-e51d9fc6a9902c2ef448abf8f1151964a441d788.tar.xz
mpd-e51d9fc6a9902c2ef448abf8f1151964a441d788.zip
decoder/flac: pass VorbisComment to comments_to_tag()
Diffstat (limited to '')
-rw-r--r--src/decoder/oggflac_plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder/oggflac_plugin.c b/src/decoder/oggflac_plugin.c
index 0c9b881b6..0f5e774c3 100644
--- a/src/decoder/oggflac_plugin.c
+++ b/src/decoder/oggflac_plugin.c
@@ -177,7 +177,8 @@ static void of_metadata_dup_cb(G_GNUC_UNUSED const OggFLAC__SeekableStreamDecode
block->data.stream_info.sample_rate + 0.5;
return;
case FLAC__METADATA_TYPE_VORBIS_COMMENT:
- flac_vorbis_comments_to_tag(data->tag, NULL, block);
+ flac_vorbis_comments_to_tag(data->tag, NULL,
+ &block->data.vorbis_comment);
default:
break;
}