Commit 25eae29e authored by Michael Niedermayer's avatar Michael Niedermayer

vsrc_buffer: remove overwrite support.

the overwrite flag became unused when merging support for buffering
multiple frames.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3826d53f
...@@ -55,11 +55,6 @@ int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_filter, ...@@ -55,11 +55,6 @@ int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_filter,
AVFilterBufferRef *buf; AVFilterBufferRef *buf;
int ret; int ret;
if (av_fifo_size(c->fifo)) {
if (flags & AV_VSRC_BUF_FLAG_OVERWRITE) {
//FIXME not implemented
}
}
if (!av_fifo_space(c->fifo) && if (!av_fifo_space(c->fifo) &&
(ret = av_fifo_realloc2(c->fifo, av_fifo_size(c->fifo) + (ret = av_fifo_realloc2(c->fifo, av_fifo_size(c->fifo) +
sizeof(buf))) < 0) sizeof(buf))) < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment