summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-03-01 23:59:14 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-03-01 23:59:14 +0000
commit1f3d74d39bc5478f5a5ec5b169e341ac18053ce0 (patch)
tree1f391465fbdb8512c6ad19b578adbbab20583f9f /cmdutils.c
parent3948c74f8047ea4ecd4575b5d59b90f4bd25b92f (diff)
Remove INFINITY as suggested by rich.
Originally committed as revision 12289 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 7acd61b14e..41343bb66b 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -128,7 +128,7 @@ unknown_opt:
} else if (po->flags & OPT_INT64) {
*po->u.int64_arg = parse_number_or_die(opt+1, arg, OPT_INT64, INT64_MIN, INT64_MAX);
} else if (po->flags & OPT_FLOAT) {
- *po->u.float_arg = parse_number_or_die(opt+1, arg, OPT_FLOAT, -INFINITY, INFINITY);
+ *po->u.float_arg = parse_number_or_die(opt+1, arg, OPT_FLOAT, -1.0/0.0, 1.0/0.0);
} else if (po->flags & OPT_FUNC2) {
if(po->u.func2_arg(opt+1, arg)<0)
goto unknown_opt;