diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/mplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/mplayer.c b/core/mplayer.c index ebe52b1b76..1b07a0f9ee 100644 --- a/core/mplayer.c +++ b/core/mplayer.c @@ -2076,8 +2076,9 @@ static int write_to_ao(struct MPContext *mpctx, void *data, int len, int flags, // Keep correct pts for remaining data - could be used to flush // remaining buffer when closing ao. ao->pts += played / bps; + return played; } - return played; + return 0; } #define ASYNC_PLAY_DONE -3 |