From df5be5e27575827d8da404fc066be0f9ff801d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Wed, 13 Mar 2013 09:56:26 +0100 Subject: [PATCH] lavfi/avfilter: raise filter_frame() error. --- libavfilter/avfilter.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 75b42f2bd1..1d278178fe 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -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;