diff options
author | Max Kellermann <max@duempel.org> | 2009-11-10 23:56:59 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-10 23:56:59 +0100 |
commit | 305de100a7f9ab7c62c4a2f3f447919d98879a3f (patch) | |
tree | 02f1a4032219bed0cc3d662027949caac9bfa62e /src/decoder/oggflac_plugin.c | |
parent | c1a999c4927181d5b9621af7a7808266e17f64e2 (diff) | |
download | mpd-305de100a7f9ab7c62c4a2f3f447919d98879a3f.tar.gz mpd-305de100a7f9ab7c62c4a2f3f447919d98879a3f.tar.xz mpd-305de100a7f9ab7c62c4a2f3f447919d98879a3f.zip |
decoder/oggflac: initialize the "tag" variable
Diffstat (limited to 'src/decoder/oggflac_plugin.c')
-rw-r--r-- | src/decoder/oggflac_plugin.c | 3 |
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); |