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.
This commit is contained in:
Niklas Haas 2023-10-20 15:29:33 +02:00
parent 238f9de876
commit 1b0ca47707

View File

@ -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);