From 7ae7c41413beb601714a06b4fd18cdb4610b2eda Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 1 Apr 2012 18:53:58 +0200 Subject: vsrc_buffer: allow using a NULL buffer to signal EOF. --- libavfilter/buffersrc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavfilter/buffersrc.h') diff --git a/libavfilter/buffersrc.h b/libavfilter/buffersrc.h index bd82c065e4..918a54faee 100644 --- a/libavfilter/buffersrc.h +++ b/libavfilter/buffersrc.h @@ -32,6 +32,7 @@ * * @param buf buffer containing frame data to be passed down the filtergraph. * This function will take ownership of buf, the user must not free it. + * A NULL buf signals EOF -- i.e. no more frames will be sent to this filter. */ int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf); -- cgit v1.2.3