You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavfi/avfilter: raise filter_frame() error.
This commit is contained in:
@@ -329,8 +329,7 @@ int ff_request_frame(AVFilterLink *link)
|
|||||||
if (ret == AVERROR_EOF && link->partial_buf) {
|
if (ret == AVERROR_EOF && link->partial_buf) {
|
||||||
AVFrame *pbuf = link->partial_buf;
|
AVFrame *pbuf = link->partial_buf;
|
||||||
link->partial_buf = NULL;
|
link->partial_buf = NULL;
|
||||||
ff_filter_frame_framed(link, pbuf);
|
ret = ff_filter_frame_framed(link, pbuf);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
if (ret == AVERROR_EOF)
|
if (ret == AVERROR_EOF)
|
||||||
link->closed = 1;
|
link->closed = 1;
|
||||||
|
Reference in New Issue
Block a user