diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:04 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:04 +0200 |
commit | 87beded44f0798c80744fcaebb06cac9ce8bbf39 (patch) | |
tree | 3b0a5d2151359090f90071d10d7908d1538f333c | |
parent | 9e0f7dcd1a9c000a78cf283af4fa593e808ed374 (diff) | |
download | mpd-87beded44f0798c80744fcaebb06cac9ce8bbf39.tar.gz mpd-87beded44f0798c80744fcaebb06cac9ce8bbf39.tar.xz mpd-87beded44f0798c80744fcaebb06cac9ce8bbf39.zip |
removed "else"
The "if" block breaked out of the loop. That means we can move the
code out of the "else" block.
Diffstat (limited to '')
-rw-r--r-- | src/decode.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/decode.c b/src/decode.c index dff876296..b6e91e9f6 100644 --- a/src/decode.c +++ b/src/decode.c @@ -467,9 +467,10 @@ static void decodeParent(void) "while playing \"%s\"\n", get_song_url(tmp, dc.next_song)); break; - } else { - player_wakeup_decoder(); } + + player_wakeup_decoder(); + if (do_pause) { dropBufferedAudio(); closeAudioDevice(); |