diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-06-26 17:52:32 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-06-29 00:27:05 +0400 |
commit | b0fdd3489a6f5e63ee494245bb34eccf138b17d3 (patch) | |
tree | f94d291085a3e4c075eb44f1a327c5f363fbdb97 /libavfilter/buffersrc.c | |
parent | cd8bef969ab30b6008387cbffa242bf38a449d9d (diff) |
lavfi: deprecate av_buffersrc_buffer() function
Favor av_buffersrc_add_ref() instead, which is more powerful.
Diffstat (limited to 'libavfilter/buffersrc.c')
-rw-r--r-- | libavfilter/buffersrc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index 3c0d96497b..dd9eb39b59 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -196,10 +196,12 @@ int av_buffersrc_add_ref(AVFilterContext *s, AVFilterBufferRef *buf, int flags) return 0; } +#ifdef FF_API_BUFFERSRC_BUFFER int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf) { return av_buffersrc_add_ref(s, buf, AV_BUFFERSRC_FLAG_NO_COPY); } +#endif unsigned av_buffersrc_get_nb_failed_requests(AVFilterContext *buffer_src) { |