mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-25 00:33:26 +00:00
Merge commit '4d48691622149ba5998de08a0acec85d1f4ed46a' into release/2.4
* commit '4d48691622149ba5998de08a0acec85d1f4ed46a':
cmdutils: Use the correct guard
Conflicts:
cmdutils.c
See: 35daf3ca81
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
ee025a0c61
@ -444,7 +444,7 @@ int locate_option(int argc, char **argv, const OptionDef *options,
|
|||||||
(po->name && !strcmp(optname, po->name)))
|
(po->name && !strcmp(optname, po->name)))
|
||||||
return i;
|
return i;
|
||||||
|
|
||||||
if (po->flags & HAS_ARG)
|
if (!po->name || po->flags & HAS_ARG)
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user