Commit a190db08 authored by Max Kellermann's avatar Max Kellermann

player/Thread: simplify loop condition

parent e3142312
...@@ -937,10 +937,7 @@ Player::Run() noexcept ...@@ -937,10 +937,7 @@ Player::Run() noexcept
pc.CommandFinished(); pc.CommandFinished();
while (true) { while (ProcessCommand()) {
if (!ProcessCommand())
break;
if (buffering) { if (buffering) {
/* buffering at the start of the song - wait /* buffering at the start of the song - wait
until the buffer is large enough, to until the buffer is large enough, to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment