Commit bdbdadba authored by Clément Bœsch's avatar Clément Bœsch

lavfi/buffersrc: raise filter_frame() error.

parent 27ce858c
......@@ -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)
......
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