[FFmpeg-cvslog] lavfi: remove av_buffersrc_buffer.

Nicolas George git at videolan.org
Sun May 6 16:37:28 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sat May  5 09:26:52 2012 +0200| [317b2b7e92126a86e36e0f2bd3fa254625b2bb45] | committer: Nicolas George

lavfi: remove av_buffersrc_buffer.

It is no longer used anywhere.

Furthermore, the header it was declared in was not installed,
so it can not be considered part of the public API.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=317b2b7e92126a86e36e0f2bd3fa254625b2bb45
---

 libavfilter/buffersrc.h  |    9 ---------
 libavfilter/src_buffer.c |    6 ------
 2 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/libavfilter/buffersrc.h b/libavfilter/buffersrc.h
index 772eb25..2bbbb8f 100644
--- a/libavfilter/buffersrc.h
+++ b/libavfilter/buffersrc.h
@@ -53,13 +53,4 @@ enum {
 int av_buffersrc_add_ref(AVFilterContext *buffer_src,
                          AVFilterBufferRef *picref, int flags);
 
-/**
- * Add a buffer to the filtergraph s.
- *
- * @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);
-
 #endif /* AVFILTER_BUFFERSRC_H */
diff --git a/libavfilter/src_buffer.c b/libavfilter/src_buffer.c
index 15c30d6..c6929f6 100644
--- a/libavfilter/src_buffer.c
+++ b/libavfilter/src_buffer.c
@@ -294,12 +294,6 @@ int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_filter,
     return av_buffersrc_add_ref(buffer_filter, picref, 0);
 }
 
-int av_buffersrc_buffer(AVFilterContext *s, AVFilterBufferRef *buf)
-{
-    return av_buffersrc_add_ref(s, buf, AV_BUFFERSRC_FLAG_NO_CHECK_FORMAT |
-                                        AV_BUFFERSRC_FLAG_NO_COPY);
-}
-
 #if CONFIG_AVCODEC
 #include "avcodec.h"
 



More information about the ffmpeg-cvslog mailing list