OSDN Git Service

lavfi/avfilter: raise filter_frame() error.
authorClément Bœsch <ubitux@gmail.com>
Wed, 13 Mar 2013 08:56:26 +0000 (09:56 +0100)
committerClément Bœsch <ubitux@gmail.com>
Wed, 13 Mar 2013 18:00:09 +0000 (19:00 +0100)
libavfilter/avfilter.c

index 75b42f2..1d27817 100644 (file)
@@ -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;