summaryrefslogtreecommitdiff
path: root/cmdutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h
index e753c43081..4ce62b64a8 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -45,6 +45,17 @@ extern AVFormatContext *avformat_opts;
extern struct SwsContext *sws_opts;
/**
+ * Initialize the cmdutils option system, in particular
+ * allocate the *_opts contexts.
+ */
+void init_opts(void);
+/**
+ * Uninitialize the cmdutils option system, in particular
+ * free the *_opts contexts and their contents.
+ */
+void uninit_opts(void);
+
+/**
* Trivial log callback.
* Only suitable for show_help and similar since it lacks prefix handling.
*/