aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-13 22:46:47 +0200
committerMax Kellermann <max@duempel.org>2012-02-04 14:32:17 +0100
commit5646dcc791c99439a321b7e73dffff2a60e47a16 (patch)
tree4bbe69e0f50d3c69be90a385438c50ff64b9024d /test
parent5d9876e33825e3ce526e480dc5311073078aba64 (diff)
downloadmpd-5646dcc791c99439a321b7e73dffff2a60e47a16.tar.gz
mpd-5646dcc791c99439a321b7e73dffff2a60e47a16.tar.xz
mpd-5646dcc791c99439a321b7e73dffff2a60e47a16.zip
test/read_tags: initialize the tag_pool library
Diffstat (limited to '')
-rw-r--r--test/read_tags.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/read_tags.c b/test/read_tags.c
index 3e5e523bf..07d1afcba 100644
--- a/test/read_tags.c
+++ b/test/read_tags.c
@@ -24,6 +24,7 @@
#include "input_stream.h"
#include "audio_format.h"
#include "pcm_volume.h"
+#include "tag_pool.h"
#include "tag_ape.h"
#include "tag_id3.h"
#include "idle.h"
@@ -164,6 +165,8 @@ int main(int argc, char **argv)
decoder_name = argv[1];
path = argv[2];
+ tag_pool_init();
+
if (!input_stream_global_init(&error)) {
g_warning("%s", error->message);
g_error_free(error);
@@ -215,5 +218,7 @@ int main(int argc, char **argv)
}
}
+ tag_pool_deinit();
+
return 0;
}