cmdutils: change the signature of the function argument in parse_options()

This is required for a pending simplification.
This commit is contained in:
Stefano Sabatini
2011-06-04 23:54:19 +02:00
parent 0d0fdb0ad5
commit 96f931adf7
5 changed files with 12 additions and 7 deletions

View File

@@ -151,7 +151,7 @@ void show_help_options(const OptionDef *options, const char *msg, int mask, int
* not have to be processed.
*/
void parse_options(int argc, char **argv, const OptionDef *options,
void (* parse_arg_function)(const char*));
int (* parse_arg_function)(const char *opt, const char *arg));
void set_context_opts(void *ctx, void *opts_ctx, int flags, AVCodec *codec);