summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-29 15:57:43 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-05 18:58:29 +0200
commit31a373ce71a10f50a603149e4201280996ff7ed1 (patch)
tree4eca13e4a1b76a8f068078a43a3e21acb556ec37 /libavfilter/avfilter.h
parent71f9f7dc735eedea27839b51ca0e606b27dbe2f4 (diff)
avfilter: Reindentation after query_formats changes
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 566c1b87ce..f7208754a7 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -284,26 +284,26 @@ typedef struct AVFilter {
* See the documentation of enum FilterFormatsState in internal.h.
*/
union {
- /**
- * Query formats supported by the filter on its inputs and outputs.
- *
- * This callback is called after the filter is initialized (so the inputs
- * and outputs are fixed), shortly before the format negotiation. This
- * callback may be called more than once.
- *
- * This callback must set AVFilterLink.outcfg.formats on every input link and
- * AVFilterLink.incfg.formats on every output link to a list of pixel/sample
- * formats that the filter supports on that link. For audio links, this
- * filter must also set @ref AVFilterLink.incfg.samplerates "in_samplerates" /
- * @ref AVFilterLink.outcfg.samplerates "out_samplerates" and
- * @ref AVFilterLink.incfg.channel_layouts "in_channel_layouts" /
- * @ref AVFilterLink.outcfg.channel_layouts "out_channel_layouts" analogously.
- *
- * This callback must never be NULL if the union is in this state.
- *
- * @return zero on success, a negative value corresponding to an
- * AVERROR code otherwise
- */
+ /**
+ * Query formats supported by the filter on its inputs and outputs.
+ *
+ * This callback is called after the filter is initialized (so the inputs
+ * and outputs are fixed), shortly before the format negotiation. This
+ * callback may be called more than once.
+ *
+ * This callback must set AVFilterLink.outcfg.formats on every input link
+ * and AVFilterLink.incfg.formats on every output link to a list of
+ * pixel/sample formats that the filter supports on that link. For audio
+ * links, this filter must also set @ref AVFilterLink.incfg.samplerates
+ * "in_samplerates" / @ref AVFilterLink.outcfg.samplerates "out_samplerates"
+ * and @ref AVFilterLink.incfg.channel_layouts "in_channel_layouts" /
+ * @ref AVFilterLink.outcfg.channel_layouts "out_channel_layouts" analogously.
+ *
+ * This callback must never be NULL if the union is in this state.
+ *
+ * @return zero on success, a negative value corresponding to an
+ * AVERROR code otherwise
+ */
int (*query_func)(AVFilterContext *);
/**
* A pointer to an array of admissible pixel formats delimited