aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:04 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:04 +0200
commit87beded44f0798c80744fcaebb06cac9ce8bbf39 (patch)
tree3b0a5d2151359090f90071d10d7908d1538f333c /src/decode.c
parent9e0f7dcd1a9c000a78cf283af4fa593e808ed374 (diff)
downloadmpd-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.c5
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();