mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 21:31:52 +00:00
10L bug fix. Thx to Fredrik Kuivinen <freku045@student.liu.se>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5201 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2a325840dd
commit
fec8222337
@ -463,6 +463,9 @@ mp_input_parse_cmd(char* str) {
|
||||
cmd->args[i].v.s = strdup(cmd_def->args[i].v.s);
|
||||
}
|
||||
|
||||
if(i < MP_CMD_MAX_ARGS)
|
||||
cmd->args[i].type = -1;
|
||||
|
||||
return cmd;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user