1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

lavfi/buffersrc: raise filter_frame() error.

This commit is contained in:
Clément Bœsch 2013-03-13 09:56:42 +01:00
parent 27ce858c98
commit bdbdadbaff

View File

@ -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)