aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-08 21:01:25 +0200
committerMax Kellermann <max@duempel.org>2012-08-08 21:01:25 +0200
commitc1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff (patch)
treea1eb2e93ff43309ee30fd77ec57db6d10d8fd612 /test/run_decoder.c
parent510097cc37ffe88ddd1bf0587add83654777ded1 (diff)
downloadmpd-c1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff.tar.gz
mpd-c1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff.tar.xz
mpd-c1f90a99f4b33b3b2c05d051f19bd7ed3472c5ff.zip
tag_pool: use GStaticMutex
Eliminates explicit global initialisation.
Diffstat (limited to '')
-rw-r--r--test/run_decoder.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/run_decoder.c b/test/run_decoder.c
index e6712c75b..c25e727ba 100644
--- a/test/run_decoder.c
+++ b/test/run_decoder.c
@@ -21,7 +21,6 @@
#include "io_thread.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"
@@ -191,8 +190,6 @@ 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);
@@ -248,7 +245,5 @@ int main(int argc, char **argv)
return 1;
}
- tag_pool_deinit();
-
return 0;
}