summaryrefslogtreecommitdiff
path: root/libavfilter/buffersrc.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-04-01 18:53:58 +0200
committerAnton Khirnov <anton@khirnov.net>2012-04-14 09:25:46 +0200
commit7ae7c41413beb601714a06b4fd18cdb4610b2eda (patch)
treed8dc3a38bef9a6503bd99f57d603fd25b009c37b /libavfilter/buffersrc.h
parent9206ac80a5c3256738b887cf3cfe39f385ebc672 (diff)
vsrc_buffer: allow using a NULL buffer to signal EOF.
Diffstat (limited to 'libavfilter/buffersrc.h')
-rw-r--r--libavfilter/buffersrc.h1
1 files changed, 1 insertions, 0 deletions
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);