aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/PlayerThread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx
index 6e5231052..f3db5507d 100644
--- a/src/PlayerThread.cxx
+++ b/src/PlayerThread.cxx
@@ -724,7 +724,7 @@ play_chunk(player_control &pc,
if (chunk->tag != nullptr)
update_song_tag(song, *chunk->tag);
- if (chunk->length == 0) {
+ if (chunk->IsEmpty()) {
buffer.Return(chunk);
return true;
}