diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-17 01:34:58 +0300 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-31 00:24:22 +0300 |
commit | e6c20e214efd21cac56309c1548cf5dbdf1edf38 (patch) | |
tree | 061bd9b747049416c44e5d0c3192872b6a9f2504 /libavfilter/buffersrc.h | |
parent | 0169c4dc818bd88e9c203afb51de2afda49c657c (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.h | 3 |
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. |