aboutsummaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-12-12 23:22:50 +0100
committerGravatar wm4 <wm4@nowhere>2014-12-12 23:22:50 +0100
commit2768ded1b981e43a3bd15d9fe6bb0cf3a303254d (patch)
treea3d314c48b33d782c962a7ac825fc256b4d41941 /options
parent2b337d67a472cf88c9b1a4ee7da07820b8e4a5c9 (diff)
options: fix parsing for --ab-loop-*
Editing mistake. Oops.
Diffstat (limited to 'options')
-rw-r--r--options/m_option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/m_option.c b/options/m_option.c
index f59ce6a47c..70d21ad39e 100644
--- a/options/m_option.c
+++ b/options/m_option.c
@@ -2180,7 +2180,7 @@ static int parse_time(struct mp_log *log, const m_option_t *opt,
if (param.len == 0)
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;
} else if (!parse_timestring(param, &time, 0)) {
mp_err(log, "Option %.*s: invalid time: '%.*s'\n",