aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-10-03 19:28:40 +0200
committerMax Kellermann <max@duempel.org>2011-10-03 19:28:54 +0200
commitbbdb4a67e15d7a0e7e0981711028ecc3215d8927 (patch)
tree14466244b2be24590cd7f61225581b163d2bcbc5
parent21851c06733080b4c131d553d5d1f8784c12410f (diff)
downloadmpd-bbdb4a67e15d7a0e7e0981711028ecc3215d8927.tar.gz
mpd-bbdb4a67e15d7a0e7e0981711028ecc3215d8927.tar.xz
mpd-bbdb4a67e15d7a0e7e0981711028ecc3215d8927.zip
test/run_decoder: initialize GThread
Needed for the I/O thread.
-rw-r--r--test/run_decoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/run_decoder.c b/test/run_decoder.c
index 455b73ce7..87dffa637 100644
--- a/test/run_decoder.c
+++ b/test/run_decoder.c
@@ -180,6 +180,7 @@ int main(int argc, char **argv)
decoder_name = argv[1];
decoder.uri = argv[2];
+ g_thread_init(NULL);
g_log_set_default_handler(my_log_func, NULL);
io_thread_init();