Originally committed as revision 3092 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer authored on 2004/04/30 22:41:48... | ... |
@@ -81,6 +81,8 @@ void parse_options(int argc, char **argv, const OptionDef *options) |
81 | 81 |
*po->u.str_arg = str; |
82 | 82 |
} else if (po->flags & OPT_BOOL) { |
83 | 83 |
*po->u.int_arg = 1; |
84 |
+ } else if (po->flags & OPT_INT) { |
|
85 |
+ *po->u.int_arg = atoi(arg); |
|
84 | 86 |
} else { |
85 | 87 |
po->u.func_arg(arg); |
86 | 88 |
} |