aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Main.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index c9de56873..cfb2dcc92 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -432,6 +432,8 @@ int mpd_main(int argc, char *argv[])
const unsigned max_clients = config_get_positive(CONF_MAX_CONN, 10);
instance->client_list = new ClientList(max_clients);
+ initialize_decoder_and_player();
+
if (!listen_global_init(*instance->event_loop, *instance->partition,
error)) {
LogError(error);
@@ -475,7 +477,6 @@ int mpd_main(int argc, char *argv[])
glue_sticker_init();
command_init();
- initialize_decoder_and_player();
initAudioConfig();
instance->partition->outputs.Configure(*instance->event_loop,
instance->partition->pc);