the overwrite flag became unused when merging support for buffering
multiple frames.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
| ... | ... |
@@ -55,11 +55,6 @@ int av_vsrc_buffer_add_video_buffer_ref(AVFilterContext *buffer_filter, |
| 55 | 55 |
AVFilterBufferRef *buf; |
| 56 | 56 |
int ret; |
| 57 | 57 |
|
| 58 |
- if (av_fifo_size(c->fifo)) {
|
|
| 59 |
- if (flags & AV_VSRC_BUF_FLAG_OVERWRITE) {
|
|
| 60 |
- //FIXME not implemented |
|
| 61 |
- } |
|
| 62 |
- } |
|
| 63 | 58 |
if (!av_fifo_space(c->fifo) && |
| 64 | 59 |
(ret = av_fifo_realloc2(c->fifo, av_fifo_size(c->fifo) + |
| 65 | 60 |
sizeof(buf))) < 0) |