summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.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/avfilter.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/avfilter.h')
-rw-r--r--libavfilter/avfilter.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 296f2d3c9a..584623f0b6 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -234,13 +234,13 @@ void avfilter_unref_buffer(AVFilterBufferRef *ref);
*/
attribute_deprecated
void avfilter_unref_bufferp(AVFilterBufferRef **ref);
-#endif
/**
* Get the number of channels of a buffer reference.
*/
attribute_deprecated
int avfilter_ref_get_channels(AVFilterBufferRef *ref);
+#endif
#if FF_API_AVFILTERPAD_PUBLIC
/**
@@ -763,7 +763,9 @@ struct AVFilterLink {
AVLINK_INIT ///< complete
} init_state;
+#if FF_API_AVFILTERBUFFER
struct AVFilterPool *pool;
+#endif
/**
* Graph the filter belongs to.
@@ -819,6 +821,7 @@ struct AVFilterLink {
*/
int max_samples;
+#if FF_API_AVFILTERBUFFER
/**
* The buffer reference currently being received across the link by the
* destination filter. This is used internally by the filter system to
@@ -827,6 +830,7 @@ struct AVFilterLink {
* by the filters.
*/
AVFilterBufferRef *cur_buf_copy;
+#endif
/**
* True if the link is closed.