[FFmpeg-devel] [PATCH 09/10] vsrc_buffer: deprecate av_vsrc_buffer_add_video_buffer_ref.

Nicolas George nicolas.george at normalesup.org
Sat May 5 10:22:37 CEST 2012


Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 libavfilter/vsrc_buffer.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavfilter/vsrc_buffer.h b/libavfilter/vsrc_buffer.h
index 17c4498..821fb62 100644
--- a/libavfilter/vsrc_buffer.h
+++ b/libavfilter/vsrc_buffer.h
@@ -42,7 +42,10 @@
  * @param flags a combination of AV_VSRC_BUF_FLAG_* flags
  * @return >= 0 in case of success, a negative AVERROR code in case of
  * failure
+ *
+ * @deprecated use av_buffersrc_add_ref() instead.
  */
+attribute_deprecated
 int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_src,
                                         AVFilterBufferRef *picref, int flags);
 
-- 
1.7.10



More information about the ffmpeg-devel mailing list