diff --git a/libavfilter/vsrc_buffer.h b/libavfilter/vsrc_buffer.h index 17c4498659..821fb624bd 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);