summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--options/m_option.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/options/m_option.c b/options/m_option.c
index 9472f3c870..dae497a1a0 100644
--- a/options/m_option.c
+++ b/options/m_option.c
@@ -995,9 +995,6 @@ static int clamp_str(const m_option_t *opt, void *val)
static int parse_str(struct mp_log *log, const m_option_t *opt,
struct bstr name, struct bstr param, void *dst)
{
- if (param.start == NULL)
- return M_OPT_MISSING_PARAM;
-
m_opt_string_validate_fn validate = opt->priv;
if (validate) {
int r = validate(log, opt, name, param);