diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-10-04 14:50:00 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-12 16:51:17 +0200 |
commit | 7a6cd9957de27cbc8a69510f3d11dffea31f7ad8 (patch) | |
tree | 6ad2d4175869d9f15a5e5789b98ea2a520cdf855 /cmdutils.h | |
parent | 145f741e115c75eac511e0ceb7a3c44585e871e3 (diff) | |
download | ffmpeg-7a6cd9957de27cbc8a69510f3d11dffea31f7ad8.tar.gz |
cmdutils/avtools: simplify show_help() by using av_opt_child_class_next()
Diffstat (limited to 'cmdutils.h')
-rw-r--r-- | cmdutils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h index 1c17433bc5..80b20b8e06 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -155,6 +155,12 @@ typedef struct { void show_help_options(const OptionDef *options, const char *msg, int mask, int value); /** + * Show help for all options with given flags in class and all its + * children. + */ +void show_help_children(const AVClass *class, int flags); + +/** * Parse the command line arguments. * * @param optctx an opaque options context |