player/Thread: remove unnecessary "pipe" check
The "queued" flag can only possibly be set if the decoder is still decoding the current song or if the decoder is stopped. This is also what the following assert() checks. This check was not necessary.
This commit is contained in:
parent
6922a2f55e
commit
ff3e2c0514
|
@ -996,7 +996,7 @@ Player::Run() noexcept
|
|||
}
|
||||
}
|
||||
|
||||
if (dc.IsIdle() && queued && dc.pipe == pipe) {
|
||||
if (dc.IsIdle() && queued) {
|
||||
/* the decoder has finished the current song;
|
||||
make it decode the next song */
|
||||
|
||||
|
|
Loading…
Reference in New Issue