aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.h
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.h
parenta4072c453b23a24afd276f17fe1876df11ab1e0d (diff)
downloadffmpeg-ffdf9a1f2d20de9e5ffeb0ef42c78c9ab52f1d49.tar.gz
add OPT_INT64 option
Originally committed as revision 8554 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h
index 49b753dcf3..13a61c09df 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -36,12 +36,14 @@ typedef struct {
#define OPT_FLOAT 0x0100
#define OPT_SUBTITLE 0x0200
#define OPT_FUNC2 0x0400
+#define OPT_INT64 0x0800
union {
void (*func_arg)(const char *); //FIXME passing error code as int return would be nicer then exit() in the func
int *int_arg;
char **str_arg;
float *float_arg;
int (*func2_arg)(const char *, const char *);
+ int64_t *int64_arg;
} u;
const char *help;
const char *argname;