diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-08-28 14:27:27 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-04 13:12:00 +0200 |
commit | 7efe05ab298ae18437c9796f43b9f47474763a39 (patch) | |
tree | 291991d85e03f5e38e47f9e67cf6367dfdfd1b90 /cmdutils.h | |
parent | cac651c83417dde3b64a6620cac32f078c9c399f (diff) | |
download | ffmpeg-7efe05ab298ae18437c9796f43b9f47474763a39.tar.gz |
cmdutils: declare only one pointer type in OptionDef
This will be useful in the following commit.
Diffstat (limited to 'cmdutils.h')
-rw-r--r-- | cmdutils.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmdutils.h b/cmdutils.h index 2173f0d34b..e72c730fa7 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -125,11 +125,8 @@ typedef struct { #define OPT_EXIT 0x0800 #define OPT_DATA 0x1000 union { - int *int_arg; - char **str_arg; - float *float_arg; + void *dst_ptr; int (*func_arg)(const char *, const char *); - int64_t *int64_arg; } u; const char *help; const char *argname; |