aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-10 23:56:59 +0100
committerMax Kellermann <max@duempel.org>2009-11-10 23:56:59 +0100
commit305de100a7f9ab7c62c4a2f3f447919d98879a3f (patch)
tree02f1a4032219bed0cc3d662027949caac9bfa62e
parentc1a999c4927181d5b9621af7a7808266e17f64e2 (diff)
downloadmpd-305de100a7f9ab7c62c4a2f3f447919d98879a3f.tar.gz
mpd-305de100a7f9ab7c62c4a2f3f447919d98879a3f.tar.xz
mpd-305de100a7f9ab7c62c4a2f3f447919d98879a3f.zip
decoder/oggflac: initialize the "tag" variable
-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 a4912f8ac..c139fd114 100644
--- a/src/decoder/oggflac_plugin.c
+++ b/src/decoder/oggflac_plugin.c
@@ -283,7 +283,8 @@ oggflac_tag_dup(const char *file)
if (tag_is_defined(data.tag)) {
tag = data.tag;
data.tag = NULL;
- }
+ } else
+ tag = NULL;
flac_data_deinit(&data);