diff options
author | Clément Bœsch | 2013-03-13 09:56:42 +0100 |
---|---|---|
committer | Clément Bœsch | 2013-03-13 19:00:09 +0100 |
commit | bdbdadbaff6feead6c1bc094004f7bcd370483cc (patch) | |
tree | 3942e7b77bb3ebe8024433ae114da1695c4e64f8 | |
parent | 27ce858c9861313e5d81ef331bc9ad108f2ef3af (diff) |
lavfi/buffersrc: raise filter_frame() error.
-rw-r--r-- | libavfilter/buffersrc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index be860aae23..80fd2be559 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) |