mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Merge commit '47e3e1097e'
* commit '47e3e1097e': cmdutils: Use the correct guard Conflicts: cmdutils.c See:35daf3ca81Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
1eda312aca
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue