summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
Diffstat (limited to 'player')
-rw-r--r--player/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/audio.c b/player/audio.c
index f23f6db5cc..46e59a3c9c 100644
--- a/player/audio.c
+++ b/player/audio.c
@@ -385,7 +385,7 @@ void fill_audio_out_buffers(struct MPContext *mpctx, double endpts)
// If audio is infinitely fast, somehow try keeping approximate A/V sync.
if (mpctx->audio_status == STATUS_PLAYING && ao_untimed(mpctx->ao) &&
- !(mpctx->video_status == STATUS_EOF || mpctx->delay <= 0))
+ mpctx->video_status != STATUS_EOF && mpctx->delay > 0)
return;
// if paused, just initialize things (audio format & pts)