Commit b2789c59 authored by Max Kellermann's avatar Max Kellermann

PlayerThread: use {decoder,player}_control references

parent 92a93c12
...@@ -462,7 +462,7 @@ int mpd_main(int argc, char *argv[]) ...@@ -462,7 +462,7 @@ int mpd_main(int argc, char *argv[])
ZeroconfInit(*main_loop); ZeroconfInit(*main_loop);
player_create(&instance->partition->pc); player_create(instance->partition->pc);
if (create_db) { if (create_db) {
/* the database failed to load: recreate the /* the database failed to load: recreate the
......
...@@ -40,6 +40,6 @@ ...@@ -40,6 +40,6 @@
struct player_control; struct player_control;
void void
player_create(struct player_control *pc); player_create(player_control &pc);
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment