aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-09-11 11:10:25 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-09-11 11:10:25 +0000
commit8bbf6db98b8058146bd343d0ca2411ca39a173b0 (patch)
treef993779db47ee8e70e1abef325b1d31628ebfc81 /cmdutils.h
parenta26e1d4c1f7c93d24250dd9c0786241f92fcdea4 (diff)
downloadffmpeg-8bbf6db98b8058146bd343d0ca2411ca39a173b0.tar.gz
AVOption API improvments
support AVOptions for encoding in ffmpeg.c Originally committed as revision 4580 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmdutils.h b/cmdutils.h
index 8aeec3d214..d9c66f015e 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -14,11 +14,13 @@ typedef struct {
#define OPT_INT 0x0080
#define OPT_FLOAT 0x0100
#define OPT_SUBTITLE 0x0200
+#define OPT_FUNC2 0x0400
union {
- void (*func_arg)(const char *);
+ 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 *);
} u;
const char *help;
const char *argname;