From 6d58358a3a3274e84a4e34a348165fbb3f484587 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 30 May 2012 10:31:48 +0200 Subject: lavfi: make avfilter_get_video_buffer() private on next bump. They are only useful inside filters and we don't allow user filters for now. --- libavfilter/avfilter.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'libavfilter/avfilter.h') diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index c592372ced..7fbc160cbe 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -573,19 +573,11 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad, */ int avfilter_config_links(AVFilterContext *filter); -/** - * Request a picture buffer with a specific set of permissions. - * - * @param link the output link to the filter from which the buffer will - * be requested - * @param perms the required access permissions - * @param w the minimum width of the buffer to allocate - * @param h the minimum height of the buffer to allocate - * @return A reference to the buffer. This must be unreferenced with - * avfilter_unref_buffer when you are finished with it. - */ +#if FF_API_FILTERS_PUBLIC +attribute_deprecated AVFilterBufferRef *avfilter_get_video_buffer(AVFilterLink *link, int perms, int w, int h); +#endif /** * Create a buffer reference wrapped around an already allocated image -- cgit v1.2.3