mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 18:45:25 +00:00
parent
228c3d209c
commit
ad8aae1708
@ -2205,7 +2205,7 @@ static int parse_obj_settings_list(const m_option_t *opt, struct bstr name,
|
||||
num++;
|
||||
}
|
||||
|
||||
if (op != OP_NONE && param.len == 0)
|
||||
if (op != OP_NONE && num == 0)
|
||||
return M_OPT_MISSING_PARAM;
|
||||
|
||||
if (dst) {
|
||||
|
Loading…
Reference in New Issue
Block a user