[FFmpeg-devel] [PATCH 03/13] avfilter: add missing FF_API_AVFILTERBUFFER guards
Michael Niedermayer
michael at niedermayer.cc
Sun Aug 16 04:50:47 CEST 2015
On Sat, Aug 08, 2015 at 01:32:01PM +0200, Andreas Cadhalpun wrote:
> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
> ---
> libavfilter/audio.c | 4 ++++
> libavfilter/avfilter.h | 6 +++++-
> libavfilter/buffersink.c | 4 ++++
> libavfilter/buffersrc.h | 3 +++
> libavfilter/internal.h | 2 ++
> 5 files changed, 18 insertions(+), 1 deletion(-)
>
[...]
> --- a/libavfilter/buffersink.c
> +++ b/libavfilter/buffersink.c
> @@ -363,6 +363,8 @@ AVRational av_buffersink_get_frame_rate(AVFilterContext *ctx)
> return ctx->inputs[0]->frame_rate;
> }
>
> +#if FF_API_AVFILTERBUFFER
> +FF_DISABLE_DEPRECATION_WARNINGS
> int attribute_align_arg av_buffersink_poll_frame(AVFilterContext *ctx)
> {
> BufferSinkContext *buf = ctx->priv;
> @@ -375,6 +377,8 @@ int attribute_align_arg av_buffersink_poll_frame(AVFilterContext *ctx)
>
> return av_fifo_size(buf->fifo)/sizeof(AVFilterBufferRef *) + ff_poll_frame(inlink);
> }
> +FF_ENABLE_DEPRECATION_WARNINGS
> +#endif
Why is av_buffersink_poll_frame deprecated and removed ?
the rest of the patch is probably ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150816/0e119dab/attachment.sig>
More information about the ffmpeg-devel
mailing list