From adbd28b1dbe256dda82a6154b0ba2cf118c742d5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 9 Jul 2020 12:26:54 +0200 Subject: player: fix outdated comment --- player/scripting.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/player/scripting.c b/player/scripting.c index 7b3f9afb3c..6b891d92aa 100644 --- a/player/scripting.c +++ b/player/scripting.c @@ -333,8 +333,6 @@ static int load_run(struct mp_script_args *args) return -1; args->client = NULL; // ownership lost - // Hardcode them (according to opts.fds[]), because we want to allow clients - // to hardcode them if they want. Sue me. char *fdopt = fds[1] >= 0 ? mp_tprintf(80, "--mpv-ipc-fd=%d:%d", fds[0], fds[1]) : mp_tprintf(80, "--mpv-ipc-fd=%d", fds[0]); @@ -346,7 +344,7 @@ static int load_run(struct mp_script_args *args) {.fd = 0, .src_fd = 0,}, {.fd = 1, .src_fd = 1,}, {.fd = 2, .src_fd = 2,}, - // Just hope these don't step over each other (e.g. fds[1] is not + // Just hope these don't step over each other (e.g. fds[1] could be // below 4, if the std FDs are missing). {.fd = fds[0], .src_fd = fds[0], }, {.fd = fds[1], .src_fd = fds[1], }, -- cgit v1.2.3