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

lavfi/avfilter: raise filter_frame() error.

parent 60bd8c11
......@@ -329,8 +329,7 @@ int ff_request_frame(AVFilterLink *link)
if (ret == AVERROR_EOF && link->partial_buf) {
AVFrame *pbuf = link->partial_buf;
link->partial_buf = NULL;
ff_filter_frame_framed(link, pbuf);
return 0;
ret = ff_filter_frame_framed(link, pbuf);
}
if (ret == AVERROR_EOF)
link->closed = 1;
......
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