[FFmpeg-devel] [PATCH 09/15] lavfi/buffersrc: raise filter_frame() error.
Clément Bœsch
ubitux at gmail.com
Wed Mar 13 10:11:02 CET 2013
---
libavfilter/buffersrc.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index be860aa..80fd2be 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -500,7 +500,6 @@ static int request_frame(AVFilterLink *link)
{
BufferSourceContext *c = link->src->priv;
AVFrame *frame;
- int ret = 0;
if (!av_fifo_size(c->fifo)) {
if (c->eof)
@@ -510,10 +509,7 @@ static int request_frame(AVFilterLink *link)
}
av_fifo_generic_read(c->fifo, &frame, sizeof(frame), NULL);
- /* CIG TODO do not ignore error */
- ff_filter_frame(link, frame);
-
- return ret;
+ return ff_filter_frame(link, frame);
}
static int poll_frame(AVFilterLink *link)
--
1.8.1.5
More information about the ffmpeg-devel
mailing list