[SCM] libav/experimental: Remove INFINITY as suggested by rich.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:16:05 UTC 2013
The following commit has been merged in the experimental branch:
commit 1f3d74d39bc5478f5a5ec5b169e341ac18053ce0
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Sat Mar 1 23:59:14 2008 +0000
Remove INFINITY as suggested by rich.
Originally committed as revision 12289 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/cmdutils.c b/cmdutils.c
index 7acd61b..41343bb 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list