diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-11-24 02:08:33 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-11-28 10:46:16 +0100 |
commit | cb29cbe1ba4d921583ebae6e48d1944693fcf76f (patch) | |
tree | a63ec6db55b4e8721071d186a9bbebee6ab65f27 /audio | |
parent | d5222ece6b5424061311eadd0ceb0c165689d3c6 (diff) | |
download | mpv-cb29cbe1ba4d921583ebae6e48d1944693fcf76f.tar.bz2 mpv-cb29cbe1ba4d921583ebae6e48d1944693fcf76f.tar.xz |
ao_sndio: remove duplicated condition
Diffstat (limited to 'audio')
-rw-r--r-- | audio/out/ao_sndio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_sndio.c b/audio/out/ao_sndio.c index fce7139b5f..b7f4ffb18b 100644 --- a/audio/out/ao_sndio.c +++ b/audio/out/ao_sndio.c @@ -292,7 +292,7 @@ static void get_state(struct ao *ao, struct mp_pcm_state *state) state->delay = p->delay / (double)p->par.rate; /* report unexpected EOF / underrun */ - if ((state->queued_samples && state->queued_samples && + if ((state->queued_samples && (state->queued_samples < state->free_samples) && p->playing) || sio_eof(p->hdl)) { |