avconv: add -cpuflags option for setting supported cpuflags.

Useful for testing.
This commit is contained in:
Anton Khirnov 2012-03-04 16:46:45 +01:00
parent 4d851f8dcf
commit 4138cd2907
4 changed files with 76 additions and 5 deletions

View file

@ -320,11 +320,8 @@ void parse_options(void *optctx, int argc, char **argv, const OptionDef *options
}
}
/*
* Return index of option opt in argv or 0 if not found.
*/
static int locate_option(int argc, char **argv, const OptionDef *options,
const char *optname)
int locate_option(int argc, char **argv, const OptionDef *options,
const char *optname)
{
const OptionDef *po;
int i;