#1) fix a few potential deadlock conditons in decode.c when crossfading is enabled

#2) fix a deadlock condition when attempting to seek if the decoder quit and returned to playerInit()

git-svn-id: https://svn.musicpd.org/mpd/trunk@5325 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2007-02-11 20:36:26 +00:00
parent c5933a164a
commit b54c7c64c0
3 changed files with 11 additions and 9 deletions

View File

@@ -138,6 +138,8 @@ int playerInit(void)
decode();
else if (pc->stop)
pc->stop = 0;
else if (pc->seek)
pc->seek = 0;
else if (pc->pause)
pc->pause = 0;
else if (pc->closeAudio) {