[FFmpeg-cvslog] lavfi/buffersrc: raise filter_frame() error.
Clément Bœsch
git at videolan.org
Wed Mar 13 19:11:10 CET 2013
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed Mar 13 09:56:42 2013 +0100| [bdbdadbaff6feead6c1bc094004f7bcd370483cc] | committer: Clément Bœsch
lavfi/buffersrc: raise filter_frame() error.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bdbdadbaff6feead6c1bc094004f7bcd370483cc
---
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)
More information about the ffmpeg-cvslog
mailing list