vsrc_buffer: remove overwrite support.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Apr 2012 16:58:03 +0000 (18:58 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 6 Apr 2012 09:01:22 +0000 (11:01 +0200)
the overwrite flag became unused when merging support for buffering
multiple frames.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vsrc_buffer.c

index 61d6646..73866a8 100644 (file)
@@ -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)