diff options
author | llyyr <llyyr.public@gmail.com> | 2024-07-09 10:53:23 +0530 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2024-07-10 19:32:36 +0200 |
commit | 2559f8874f758dfc44b142dc93f72011c5900e44 (patch) | |
tree | 773333c060fb91b49a09b890612f1d5b5f93b5a8 /audio/out | |
parent | 571f9b0f23f31741f3c5947b839411acfefae3cf (diff) | |
download | mpv-2559f8874f758dfc44b142dc93f72011c5900e44.tar.bz2 mpv-2559f8874f758dfc44b142dc93f72011c5900e44.tar.xz |
ao: use the right type for pending samples
Diffstat (limited to 'audio/out')
-rw-r--r-- | audio/out/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/buffer.c b/audio/out/buffer.c index e06d67e12a..946f2d15c2 100644 --- a/audio/out/buffer.c +++ b/audio/out/buffer.c @@ -311,7 +311,7 @@ double ao_get_delay(struct ao *ao) driver_delay = MPMAX(0, MP_TIME_NS_TO_S(end - now)); } - int pending = mp_async_queue_get_samples(p->queue); + int64_t pending = mp_async_queue_get_samples(p->queue); if (p->pending) pending += mp_aframe_get_size(p->pending); |