[FFmpeg-devel] [PATCH 07/15] lavfi/avfilter: raise filter_frame() error.

Clément Bœsch ubitux at gmail.com
Wed Mar 13 10:11:00 CET 2013


---
 libavfilter/avfilter.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 75b42f2..1d27817 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;
-- 
1.8.1.5



More information about the ffmpeg-devel mailing list