diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-12-19 21:53:22 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-12-19 22:13:41 +0100 |
commit | c661cb6672af5ebcb900ec8766b24761bd2ab011 (patch) | |
tree | 3295a421dc28e65a0e86b38cc32a8e050293f5b4 /cmdutils.h | |
parent | bb2bab92e737394a5b91df650fab7f3992c8af59 (diff) | |
download | ffmpeg-c661cb6672af5ebcb900ec8766b24761bd2ab011.tar.gz |
cmdutils: pass number of groups to split_commandline().
This makes the code simpler and avoids mixing designated and
non-designated initializers in a potentially unsafe way in avconv.
Diffstat (limited to 'cmdutils.h')
-rw-r--r-- | cmdutils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.h b/cmdutils.h index 1af30d7676..ed9c68e9c0 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -286,7 +286,7 @@ int parse_optgroup(void *optctx, OptionGroup *g); */ int split_commandline(OptionParseContext *octx, int argc, char *argv[], const OptionDef *options, - const OptionGroupDef *groups); + const OptionGroupDef *groups, int nb_groups); /** * Free all allocated memory in an OptionParseContext. |