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 26d9f196a3..6b2260dc89 100644
--- a/player/audio.c
+++ b/player/audio.c
@@ -427,7 +427,7 @@ int fill_audio_out_buffers(struct MPContext *mpctx, double endpts)
return -1;
} else if (res == AD_ASYNC_PLAY_DONE)
return 0;
- else if (demux_stream_eof(d_audio->header))
+ else if (res == AD_EOF)
audio_eof = true;
}