summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-30 09:43:39 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-30 09:43:39 +0000
commitffdf9a1f2d20de9e5ffeb0ef42c78c9ab52f1d49 (patch)
tree4866479d5d4e987359a04a98d31b713476df27d8 /cmdutils.c
parenta4072c453b23a24afd276f17fe1876df11ab1e0d (diff)
add OPT_INT64 option
Originally committed as revision 8554 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 2 insertions, 0 deletions
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) {