[FFmpeg-devel] [PATCH 2/5] lavfi/buffersrc: add add av_buffersrc_close().
wm4
nfxjfg at googlemail.com
Mon Aug 4 18:26:02 CEST 2014
On Sun, 3 Aug 2014 15:15:37 +0200
Nicolas George <george at nsup.org> wrote:
> diff --git a/libavfilter/buffersrc.h b/libavfilter/buffersrc.h
> index ea34c04..28ca545 100644
> --- a/libavfilter/buffersrc.h
> +++ b/libavfilter/buffersrc.h
> @@ -145,6 +145,8 @@ int av_buffersrc_add_frame(AVFilterContext *ctx, AVFrame *frame);
> *
> * @param buffer_src pointer to a buffer source context
> * @param frame a frame, or NULL to mark EOF
> + * (Using NULL to mark EOF is deprecated, use
> + * av_buffersrc_close() instead.)
> * @param flags a combination of AV_BUFFERSRC_FLAG_*
> * @return >= 0 in case of success, a negative AVERROR code
> * in case of failure
Please make clear that even though it's "deprecated", these semantics
won't ever get removed from the API.
More information about the ffmpeg-devel
mailing list