1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-12 09:59:44 +00:00

lua: subprocess: fix dumb

This commit is contained in:
wm4 2014-10-26 01:52:31 +02:00
parent d0643fa02d
commit f2d51171f7

View File

@ -1193,7 +1193,7 @@ static int sparse_poll(struct pollfd *fds, int num_fds, int timeout)
for (int n = 0; n < num_fds; n++) {
map[n] = -1;
if (fds[n].fd < 0)
break;
continue;
map[n] = p_num_fds;
p_fds[p_num_fds++] = fds[n];
}