[FFmpeg-cvslog] vsrc_buffer: remove overwrite support.

Michael Niedermayer git at videolan.org
Fri Apr 6 11:18:43 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Apr  3 18:58:03 2012 +0200| [25eae29ea11fb025460562a9879eca7e441c0daa] | committer: Michael Niedermayer

vsrc_buffer: remove overwrite support.

the overwrite flag became unused when merging support for buffering
multiple frames.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavfilter/vsrc_buffer.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/libavfilter/vsrc_buffer.c b/libavfilter/vsrc_buffer.c
index 61d6646..73866a8 100644
--- a/libavfilter/vsrc_buffer.c
+++ b/libavfilter/vsrc_buffer.c
@@ -55,11 +55,6 @@ int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_filter,
     AVFilterBufferRef *buf;
     int ret;
 
-    if (av_fifo_size(c->fifo)) {
-        if (flags & AV_VSRC_BUF_FLAG_OVERWRITE) {
-            //FIXME not implemented
-        }
-    }
     if (!av_fifo_space(c->fifo) &&
         (ret = av_fifo_realloc2(c->fifo, av_fifo_size(c->fifo) +
                                          sizeof(buf))) < 0)



More information about the ffmpeg-cvslog mailing list