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
This commit is contained in:
Max Kellermann
2008-04-12 04:19:38 +00:00
committed by Eric Wong
parent 8098d8ff8e
commit 1465bfab82
3 changed files with 6 additions and 6 deletions

View File

@@ -444,7 +444,7 @@ int main(int argc, char *argv[])
openVolumeDevice();
decoderInit();
playerInit();
playerInit(&getPlayerData()->playerControl);
read_state_file();
notifyEnter(&main_notify);