From 485617ea0f7bfe3715389b23edf977ffef293d15 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Tue, 27 Dec 2016 17:18:33 +0100 Subject: [PATCH] lavfi: document that AVFilterLink is not for applications. --- libavfilter/avfilter.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 02df8a3632..649bbe6522 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -383,6 +383,11 @@ struct AVFilterContext { * the pads involved. In addition, this link also contains the parameters * which have been negotiated and agreed upon between the filter, such as * image dimensions, format, etc. + * + * Applications must not normally access the link structure directly. + * Use the buffersrc and buffersink API instead. + * In the future, access to the header may be reserved for filters + * implementation. */ struct AVFilterLink { AVFilterContext *src; ///< source filter