Originally committed as revision 3092 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2004-04-30 13:41:48 +00:00
parent 242f5b0a88
commit 26d4f26bb7
2 changed files with 3 additions and 0 deletions

View File

@ -81,6 +81,8 @@ void parse_options(int argc, char **argv, const OptionDef *options)
*po->u.str_arg = str;
} else if (po->flags & OPT_BOOL) {
*po->u.int_arg = 1;
} else if (po->flags & OPT_INT) {
*po->u.int_arg = atoi(arg);
} else {
po->u.func_arg(arg);
}