*/
int opt_loglevel(const char *opt, const char *arg);
+int opt_codec_debug(const char *opt, const char *arg);
+
/**
* Limit the execution time.
*/
void show_help_options(const OptionDef *options, const char *msg, int mask, int value);
+/**
+ * Show help for all options with given flags in class and all its
+ * children.
+ */
+void show_help_children(const AVClass *class, int flags);
+
/**
* Parse the command line arguments.
*
*/
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 *grow_array(void *array, int elem_size, int *size, int new_size);
-#endif /* LIBAV_CMDUTILS_H */
+#endif /* CMDUTILS_H */