diff options
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 6 |
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. |