diff options
Diffstat (limited to 'audio/out')
-rw-r--r-- | audio/out/ao_alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_alsa.c b/audio/out/ao_alsa.c index ac29905f5a..5b07fb2546 100644 --- a/audio/out/ao_alsa.c +++ b/audio/out/ao_alsa.c @@ -1121,7 +1121,7 @@ static int audio_wait(struct ao *ao, pthread_mutex_t *lock) return r; unsigned short revents; - snd_pcm_poll_descriptors_revents(p->alsa, fds, num_fds, &revents); + err = snd_pcm_poll_descriptors_revents(p->alsa, fds, num_fds, &revents); CHECK_ALSA_ERROR("cannot read poll events"); if (revents & POLLERR) |