player/Thread: simplify loop condition

This commit is contained in:
Max Kellermann 2018-09-21 18:58:38 +02:00
parent e3142312bb
commit a190db0873
1 changed files with 1 additions and 4 deletions

View File

@ -937,10 +937,7 @@ Player::Run() noexcept
pc.CommandFinished();
while (true) {
if (!ProcessCommand())
break;
while (ProcessCommand()) {
if (buffering) {
/* buffering at the start of the song - wait
until the buffer is large enough, to