]> git.sesse.net Git - ffmpeg/blobdiff - cmdutils.c
remove invalid free() forgotten in r12300
[ffmpeg] / cmdutils.c
index 7acd61b14e08cd017b896475de95713111646d45..41343bb66b6588a92ae2c9bddd9f80710e407136 100644 (file)
@@ -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;