[FFmpeg-cvslog] r12289 - trunk/cmdutils.c
michael
subversion
Sun Mar 2 00:59:15 CET 2008
Author: michael
Date: Sun Mar 2 00:59:14 2008
New Revision: 12289
Log:
Rremove INFINITY as suggested by rich.
Modified:
trunk/cmdutils.c
Modified: trunk/cmdutils.c
==============================================================================
--- trunk/cmdutils.c (original)
+++ trunk/cmdutils.c Sun Mar 2 00:59:14 2008
@@ -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;
More information about the ffmpeg-cvslog
mailing list