Originally committed as revision 12289 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer authored on 2008/03/02 08:59:14... | ... |
@@ -128,7 +128,7 @@ unknown_opt: |
128 | 128 |
} else if (po->flags & OPT_INT64) { |
129 | 129 |
*po->u.int64_arg = parse_number_or_die(opt+1, arg, OPT_INT64, INT64_MIN, INT64_MAX); |
130 | 130 |
} else if (po->flags & OPT_FLOAT) { |
131 |
- *po->u.float_arg = parse_number_or_die(opt+1, arg, OPT_FLOAT, -INFINITY, INFINITY); |
|
131 |
+ *po->u.float_arg = parse_number_or_die(opt+1, arg, OPT_FLOAT, -1.0/0.0, 1.0/0.0); |
|
132 | 132 |
} else if (po->flags & OPT_FUNC2) { |
133 | 133 |
if(po->u.func2_arg(opt+1, arg)<0) |
134 | 134 |
goto unknown_opt; |