aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/flac_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-07-16 07:37:13 +0200
committerMax Kellermann <max@duempel.org>2009-07-16 07:37:13 +0200
commit4100035b19a5d0dedcf8f71a272fa67f6a24361a (patch)
treec4a0f11b0cf5d219fd70e55316ed0b95f348480c /src/decoder/flac_plugin.c
parent9bef46c0daa4fa2778db0e05d5883746cc995264 (diff)
parentd7bad6ae020ffabfd5d2ae9d2ce723e67e999077 (diff)
downloadmpd-4100035b19a5d0dedcf8f71a272fa67f6a24361a.tar.gz
mpd-4100035b19a5d0dedcf8f71a272fa67f6a24361a.tar.xz
mpd-4100035b19a5d0dedcf8f71a272fa67f6a24361a.zip
Merged release 0.15.1 from branch 'v0.15.x'
Diffstat (limited to 'src/decoder/flac_plugin.c')
-rw-r--r--src/decoder/flac_plugin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/decoder/flac_plugin.c b/src/decoder/flac_plugin.c
index b235469f2..89a812f52 100644
--- a/src/decoder/flac_plugin.c
+++ b/src/decoder/flac_plugin.c
@@ -408,6 +408,7 @@ flac_decode_internal(struct decoder * decoder,
if (!(flac_dec = flac_new()))
return;
flac_data_init(&data, decoder, input_stream);
+ data.tag = tag_new();
#if defined(FLAC_API_VERSION_CURRENT) && FLAC_API_VERSION_CURRENT > 7
if(!FLAC__stream_decoder_set_metadata_respond(flac_dec, FLAC__METADATA_TYPE_VORBIS_COMMENT))
@@ -436,8 +437,6 @@ flac_decode_internal(struct decoder * decoder,
}
}
- data.tag = tag_new();
-
if (!flac_process_metadata(flac_dec)) {
err = "problem reading metadata";
goto fail;