]> git.sesse.net Git - ffmpeg/blobdiff - cmdutils.h
Make PNG produce correct 8-bit pictures
[ffmpeg] / cmdutils.h
index 8aeec3d2145e12627da4954eedd9ba7c893bfb72..d9c66f015e20a8d54f4cd0887bc96add196c8484 100644 (file)
@@ -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;