aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-18 00:38:31 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-18 00:38:44 +0100
commitee025a0c6137a07f2a2cd4cb5bd09b90076d1772 (patch)
tree1a908414ae7bb276fe4d8e28f264f556a6aab9e9
parent679c3d210f5d40dd19bb8dee9cf8353e99d8c9b0 (diff)
parent4d48691622149ba5998de08a0acec85d1f4ed46a (diff)
downloadffmpeg-ee025a0c6137a07f2a2cd4cb5bd09b90076d1772.tar.gz
Merge commit '4d48691622149ba5998de08a0acec85d1f4ed46a' into release/2.4
* commit '4d48691622149ba5998de08a0acec85d1f4ed46a': cmdutils: Use the correct guard Conflicts: cmdutils.c See: 35daf3ca8173f80f200860e06a410ced31a8b360 Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 578d03ad91..612810a374 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -444,7 +444,7 @@ int locate_option(int argc, char **argv, const OptionDef *options,
(po->name && !strcmp(optname, po->name)))
return i;
- if (po->flags & HAS_ARG)
+ if (!po->name || po->flags & HAS_ARG)
i++;
}
return 0;