summaryrefslogtreecommitdiff
path: root/libavfilter/formats.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/formats.h')
-rw-r--r--libavfilter/formats.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavfilter/formats.h b/libavfilter/formats.h
index 42fe068765..a884d15213 100644
--- a/libavfilter/formats.h
+++ b/libavfilter/formats.h
@@ -209,6 +209,12 @@ av_warn_unused_result
AVFilterFormats *ff_make_format_list(const int *fmts);
/**
+ * Equivalent to ff_make_format_list({const int[]}{ fmt, -1 })
+ */
+av_warn_unused_result
+AVFilterFormats *ff_make_formats_list_singleton(int fmt);
+
+/**
* Add fmt to the list of media formats contained in *avff.
* If *avff is NULL the function allocates the filter formats struct
* and puts its pointer in *avff.