mirror of https://github.com/mpv-player/mpv
parent
35498d5957
commit
6ace32100a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue