summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-26 01:52:31 +0200
committerwm4 <wm4@nowhere>2014-10-26 01:52:31 +0200
commitf2d51171f7975184bf97ab0b85660703dd2d85cb (patch)
tree33ad82ce51946d0a02171754dfd83b4bb702247f
parentd0643fa02d1608b096315cf7243b9188d6211699 (diff)
downloadmpv-f2d51171f7975184bf97ab0b85660703dd2d85cb.tar.bz2
mpv-f2d51171f7975184bf97ab0b85660703dd2d85cb.tar.xz
lua: subprocess: fix dumb
-rw-r--r--player/lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua.c b/player/lua.c
index 217e247f3c..78623a0651 100644
--- a/player/lua.c
+++ b/player/lua.c
@@ -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];
}