int i;
int64_t i64;
float f;
+ double dbl;
} u;
} SpecifierOpt;
Implies OPT_OFFSET. Next element after the offset is
an int containing element count in the array. */
#define OPT_TIME 0x10000
+#define OPT_DOUBLE 0x20000
union {
void *dst_ptr;
int (*func_arg)(const char *, const char *);
*/
int parse_option(void *optctx, const char *opt, const char *arg, const OptionDef *options);
+/**
+ * Find the '-loglevel' option in the commandline args and apply it.
+ */
+void parse_loglevel(int argc, char **argv, const OptionDef *options);
+
/**
* Check if the given stream matches a stream specifier.
*
*/
void show_pix_fmts(void);
+/**
+ * Print a listing containing all the sample formats supported by the
+ * program.
+ */
+int show_sample_fmts(const char *opt, const char *arg);
+
/**
* Return a positive value if a line read from standard input
* starts with [yY], otherwise return 0.