diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-03-04 16:46:45 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-03-06 15:03:22 +0100 |
commit | 4138cd29077de2fbca9c49e96f70d21a78e24e33 (patch) | |
tree | 9fc69383bf4a293852c236a2c70ff7bf1f1ae271 /cmdutils.h | |
parent | 4d851f8dcf951d380e935ef14ae01db813adfc2d (diff) | |
download | ffmpeg-4138cd29077de2fbca9c49e96f70d21a78e24e33.tar.gz |
avconv: add -cpuflags option for setting supported cpuflags.
Useful for testing.
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 37fd4d3b67..67126493a4 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -190,6 +190,12 @@ int parse_option(void *optctx, const char *opt, const char *arg, void parse_loglevel(int argc, char **argv, const OptionDef *options); /** + * Return index of option opt in argv or 0 if not found. + */ +int locate_option(int argc, char **argv, const OptionDef *options, + const char *optname); + +/** * Check if the given stream matches a stream specifier. * * @param s Corresponding format context. |