Merge commit 'fb25d99b0a5e21fb8cc184c7a9d3736387778266'
This commit is a no-op. * commit 'fb25d99b0a5e21fb8cc184c7a9d3736387778266': buffersrc: do not discard the error from ff_filter_frame() Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
commit
9a9f3f151f
@ -370,6 +370,7 @@ static int request_frame(AVFilterLink *link)
|
|||||||
{
|
{
|
||||||
BufferSourceContext *c = link->src->priv;
|
BufferSourceContext *c = link->src->priv;
|
||||||
AVFrame *frame;
|
AVFrame *frame;
|
||||||
|
int ret;
|
||||||
|
|
||||||
if (!av_fifo_size(c->fifo)) {
|
if (!av_fifo_size(c->fifo)) {
|
||||||
if (c->eof)
|
if (c->eof)
|
||||||
@ -379,7 +380,9 @@ static int request_frame(AVFilterLink *link)
|
|||||||
}
|
}
|
||||||
av_fifo_generic_read(c->fifo, &frame, sizeof(frame), NULL);
|
av_fifo_generic_read(c->fifo, &frame, sizeof(frame), NULL);
|
||||||
|
|
||||||
return ff_filter_frame(link, frame);
|
ret = ff_filter_frame(link, frame);
|
||||||
|
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int poll_frame(AVFilterLink *link)
|
static int poll_frame(AVFilterLink *link)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user