options: fix parsing for --ab-loop-*

Editing mistake. Oops.
This commit is contained in:
wm4 2014-12-12 23:22:50 +01:00
parent 2b337d67a4
commit 2768ded1b9
1 changed files with 1 additions and 1 deletions

View File

@ -2180,7 +2180,7 @@ static int parse_time(struct mp_log *log, const m_option_t *opt,
if (param.len == 0) if (param.len == 0)
return M_OPT_MISSING_PARAM; return M_OPT_MISSING_PARAM;
if (HAS_NOPTS(opt) == MP_NOPTS_VALUE && bstr_equals0(param, "no")) { if (HAS_NOPTS(opt) && bstr_equals0(param, "no")) {
time = MP_NOPTS_VALUE; time = MP_NOPTS_VALUE;
} else if (!parse_timestring(param, &time, 0)) { } else if (!parse_timestring(param, &time, 0)) {
mp_err(log, "Option %.*s: invalid time: '%.*s'\n", mp_err(log, "Option %.*s: invalid time: '%.*s'\n",