aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/outputBuffer.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/outputBuffer.c b/src/outputBuffer.c
index 541461746..7e899e574 100644
--- a/src/outputBuffer.c
+++ b/src/outputBuffer.c
@@ -422,9 +422,11 @@ static void play_next_chunk(void)
return;
}
- if (ob.xfade_time <= 0 && nr < ob.bpp_cur) {
- prevent_buffer_underrun();
- return;
+ if (ob.xfade_time <= 0) {
+ if (nr < ob.bpp_cur) {
+ prevent_buffer_underrun();
+ return;
+ }
} else if (nr < xfade_chunks_needed(vec)) {
if (dc.state != DC_STATE_STOP && playlist_playing()) {
prevent_buffer_underrun();