summaryrefslogtreecommitdiff
path: root/contrib/ffmpeg/cmdutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/cmdutils.c')
-rw-r--r--contrib/ffmpeg/cmdutils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/ffmpeg/cmdutils.c b/contrib/ffmpeg/cmdutils.c
index 2c53d90da..d5095cec8 100644
--- a/contrib/ffmpeg/cmdutils.c
+++ b/contrib/ffmpeg/cmdutils.c
@@ -24,6 +24,8 @@
#include "cmdutils.h"
+#undef exit
+
void show_help_options(const OptionDef *options, const char *msg, int mask, int value)
{
const OptionDef *po;
@@ -96,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) {