From 9d0bfc5052fa73ac8df89ec9992d77b07840fdf0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 12 Jun 2012 20:12:42 +0200 Subject: lavfi: make AVFilterPad opaque after two major bumps. It will allow adding new fields to it without ABI breaks. --- libavfilter/avfilter.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavfilter/avfilter.h') diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 7ee18fbce6..157e72fe2a 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -235,8 +235,14 @@ void avfilter_set_common_formats(AVFilterContext *ctx, AVFilterFormats *formats) */ #endif +#if FF_API_AVFILTERPAD_PUBLIC /** * A filter pad used for either input or output. + * + * @warning this struct will be removed from public API. + * users should call avfilter_pad_get_name() and avfilter_pad_get_type() + * to access the name and type fields; there should be no need to access + * any other fields from outside of libavfilter. */ struct AVFilterPad { /** @@ -358,6 +364,7 @@ struct AVFilterPad { */ int (*config_props)(AVFilterLink *link); }; +#endif /** * Get the name of an AVFilterPad. -- cgit v1.2.3