summaryrefslogtreecommitdiff
path: root/libavfilter/buffersrc.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-17 00:34:58 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-30 23:24:22 +0200
commite6c20e214efd21cac56309c1548cf5dbdf1edf38 (patch)
tree061bd9b747049416c44e5d0c3192872b6a9f2504 /libavfilter/buffersrc.h
parent0169c4dc818bd88e9c203afb51de2afda49c657c (diff)
avfilter: add missing FF_API_AVFILTERBUFFER guards
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavfilter/buffersrc.h')
-rw-r--r--libavfilter/buffersrc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/buffersrc.h b/libavfilter/buffersrc.h
index ea34c04ee9..4eff77be0f 100644
--- a/libavfilter/buffersrc.h
+++ b/libavfilter/buffersrc.h
@@ -63,6 +63,7 @@ enum {
};
+#if FF_API_AVFILTERBUFFER
/**
* Add buffer data in picref to buffer_src.
*
@@ -72,8 +73,10 @@ enum {
* @return >= 0 in case of success, a negative AVERROR code
* in case of failure
*/
+attribute_deprecated
int av_buffersrc_add_ref(AVFilterContext *buffer_src,
AVFilterBufferRef *picref, int flags);
+#endif
/**
* Get the number of failed requests.