removed "else"
The "if" block breaked out of the loop. That means we can move the code out of the "else" block.
This commit is contained in:
@@ -467,9 +467,10 @@ static void decodeParent(void)
|
|||||||
"while playing \"%s\"\n",
|
"while playing \"%s\"\n",
|
||||||
get_song_url(tmp, dc.next_song));
|
get_song_url(tmp, dc.next_song));
|
||||||
break;
|
break;
|
||||||
} else {
|
|
||||||
player_wakeup_decoder();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
player_wakeup_decoder();
|
||||||
|
|
||||||
if (do_pause) {
|
if (do_pause) {
|
||||||
dropBufferedAudio();
|
dropBufferedAudio();
|
||||||
closeAudioDevice();
|
closeAudioDevice();
|
||||||
|
Reference in New Issue
Block a user