aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-02-04 17:18:37 +0100
committerMax Kellermann <max@duempel.org>2012-02-04 17:18:37 +0100
commit48eb3ff8d993e4d6977898ccec1d9377b7397f16 (patch)
tree5cfa38e90531b129dc73cb9ebc09feb5413be8bf
parent5646dcc791c99439a321b7e73dffff2a60e47a16 (diff)
downloadmpd-48eb3ff8d993e4d6977898ccec1d9377b7397f16.tar.gz
mpd-48eb3ff8d993e4d6977898ccec1d9377b7397f16.tar.xz
mpd-48eb3ff8d993e4d6977898ccec1d9377b7397f16.zip
test/run_decoder: initialize the tag_pool library
-rw-r--r--test/run_decoder.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/run_decoder.c b/test/run_decoder.c
index c997ebf8f..8dbd53017 100644
--- a/test/run_decoder.c
+++ b/test/run_decoder.c
@@ -20,6 +20,7 @@
#include "config.h"
#include "decoder_list.h"
#include "decoder_api.h"
+#include "tag_pool.h"
#include "input_init.h"
#include "input_stream.h"
#include "audio_format.h"
@@ -180,6 +181,8 @@ int main(int argc, char **argv)
g_log_set_default_handler(my_log_func, NULL);
+ tag_pool_init();
+
if (!input_stream_global_init(&error)) {
g_warning("%s", error->message);
g_error_free(error);
@@ -228,5 +231,7 @@ int main(int argc, char **argv)
return 1;
}
+ tag_pool_deinit();
+
return 0;
}