summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-10-20 15:29:33 +0200
committerNiklas Haas <git@haasn.dev>2023-12-31 13:32:29 -0800
commit1b0ca47707a01dc5709feeda859658a9d13621b8 (patch)
tree0bc5f08ddc3b99a14a9bf8582bfaf8b459c445c2 /libavfilter
parent238f9de876c4298606ce41992e16b959d108b633 (diff)
avfilter/formats: document ff_default_query_formats
In particular, make it clear that this function will not touch format lists which were already set by the caller before calling into this function.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/formats.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavfilter/formats.h b/libavfilter/formats.h
index 22224dce2d..d44890109e 100644
--- a/libavfilter/formats.h
+++ b/libavfilter/formats.h
@@ -198,6 +198,10 @@ void ff_channel_layouts_unref(AVFilterChannelLayouts **ref);
void ff_channel_layouts_changeref(AVFilterChannelLayouts **oldref,
AVFilterChannelLayouts **newref);
+/**
+ * Sets all remaining unset filter lists for all inputs/outputs to their
+ * corresponding `ff_all_*()` lists.
+ */
av_warn_unused_result
int ff_default_query_formats(AVFilterContext *ctx);