aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-04-12 04:19:38 +0000
committerEric Wong <normalperson@yhbt.net>2008-04-12 04:19:38 +0000
commit1465bfab82b8715c00ccfd18768c16a71a3f5a9e (patch)
treebf359ab4fbe3ee510a68955089f9f56ff5222c69 /src/main.c
parent8098d8ff8ef9b4829ba8f10d2d426d1569baaa7f (diff)
downloadmpd-1465bfab82b8715c00ccfd18768c16a71a3f5a9e.tar.gz
mpd-1465bfab82b8715c00ccfd18768c16a71a3f5a9e.tar.xz
mpd-1465bfab82b8715c00ccfd18768c16a71a3f5a9e.zip
pass pc to player_task()
Another global variable cleanup patch. git-svn-id: https://svn.musicpd.org/mpd/trunk@7321 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 1c513b171..d20a187d4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -444,7 +444,7 @@ int main(int argc, char *argv[])
openVolumeDevice();
decoderInit();
- playerInit();
+ playerInit(&getPlayerData()->playerControl);
read_state_file();
notifyEnter(&main_notify);