diff --git a/src/player_thread.c b/src/player_thread.c index f0c25a694..e1f31b38c 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -236,6 +236,9 @@ playChunk(struct song *song, struct music_chunk *chunk, } } + if (chunk->length == 0) + return 0; + pcm_volume(chunk->data, chunk->length, format, pc.softwareVolume);