summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-03 18:58:03 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-06 11:01:22 +0200
commit25eae29ea11fb025460562a9879eca7e441c0daa (patch)
treedb5dabc3609d46c4936dac3c9926f8918b1f573e /libavfilter
parent3826d53f15dc974d7ee0ef3acebad4391ab9818f (diff)
downloadffmpeg-streaming-25eae29ea11fb025460562a9879eca7e441c0daa.zip
ffmpeg-streaming-25eae29ea11fb025460562a9879eca7e441c0daa.tar.gz
vsrc_buffer: remove overwrite support.
the overwrite flag became unused when merging support for buffering multiple frames. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vsrc_buffer.c5
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)
OpenPOWER on IntegriCloud