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.
release/7.0
Niklas Haas 1 year ago
parent 238f9de876
commit 1b0ca47707
  1. 4
      libavfilter/formats.h

@ -198,6 +198,10 @@ void ff_channel_layouts_unref(AVFilterChannelLayouts **ref);
void ff_channel_layouts_changeref(AVFilterChannelLayouts **oldref, void ff_channel_layouts_changeref(AVFilterChannelLayouts **oldref,
AVFilterChannelLayouts **newref); AVFilterChannelLayouts **newref);
/**
* Sets all remaining unset filter lists for all inputs/outputs to their
* corresponding `ff_all_*()` lists.
*/
av_warn_unused_result av_warn_unused_result
int ff_default_query_formats(AVFilterContext *ctx); int ff_default_query_formats(AVFilterContext *ctx);

Loading…
Cancel
Save