From 4138cd29077de2fbca9c49e96f70d21a78e24e33 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 4 Mar 2012 16:46:45 +0100 Subject: avconv: add -cpuflags option for setting supported cpuflags. Useful for testing. --- cmdutils.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cmdutils.h') diff --git a/cmdutils.h b/cmdutils.h index 37fd4d3b67..67126493a4 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -189,6 +189,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. * -- cgit v1.2.3