diff options
Diffstat (limited to 'mpvcore/input/input.h')
-rw-r--r-- | mpvcore/input/input.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mpvcore/input/input.h b/mpvcore/input/input.h index 639f069a9c..207734cc83 100644 --- a/mpvcore/input/input.h +++ b/mpvcore/input/input.h @@ -216,7 +216,8 @@ struct mp_cmd *mp_input_get_cmd(struct input_ctx *ictx, int time, // Parse text and return corresponding struct mp_cmd. // The location parameter is for error messages. -struct mp_cmd *mp_input_parse_cmd(bstr str, const char *location); +struct mp_cmd *mp_input_parse_cmd(struct input_ctx *ictx, bstr str, + const char *location); // After getting a command from mp_input_get_cmd you need to free it using this // function |