aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-13 22:46:47 +0200
committerMax Kellermann <max@duempel.org>2011-09-13 22:46:47 +0200
commit62557f4d6b72eed3c42f17da89e11e3327151b88 (patch)
tree4dd95192c2846594ec2a37edece54b27ddd8dd85
parent9c46cc4ea0d340f03d0cc944bbf59ccbb674f036 (diff)
downloadmpd-62557f4d6b72eed3c42f17da89e11e3327151b88.tar.gz
mpd-62557f4d6b72eed3c42f17da89e11e3327151b88.tar.xz
mpd-62557f4d6b72eed3c42f17da89e11e3327151b88.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 541f0398f..c2e3b2caa 100644
--- a/test/read_tags.c
+++ b/test/read_tags.c
@@ -25,6 +25,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"
@@ -174,6 +175,8 @@ int main(int argc, char **argv)
return EXIT_FAILURE;
}
+ tag_pool_init();
+
if (!input_stream_global_init(&error)) {
g_warning("%s", error->message);
g_error_free(error);
@@ -227,5 +230,7 @@ int main(int argc, char **argv)
}
}
+ tag_pool_deinit();
+
return 0;
}