From ffdf9a1f2d20de9e5ffeb0ef42c78c9ab52f1d49 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Fri, 30 Mar 2007 09:43:39 +0000 Subject: add OPT_INT64 option Originally committed as revision 8554 to svn://svn.ffmpeg.org/ffmpeg/trunk --- cmdutils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmdutils.c') diff --git a/cmdutils.c b/cmdutils.c index 36ef1a9383..d5095cec80 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -98,6 +98,8 @@ unknown_opt: *po->u.int_arg = 1; } else if (po->flags & OPT_INT) { *po->u.int_arg = atoi(arg); + } else if (po->flags & OPT_INT64) { + *po->u.int64_arg = atoll(arg); } else if (po->flags & OPT_FLOAT) { *po->u.float_arg = atof(arg); } else if (po->flags & OPT_FUNC2) { -- cgit v1.2.3