diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-03-13 09:56:26 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-03-13 19:00:09 +0100 |
commit | df5be5e27575827d8da404fc066be0f9ff801d2e (patch) | |
tree | b7edd1d1b28a419b2626883f844fd9bf5112de24 | |
parent | 60bd8c11b63187678eeecffc3b40ca153c21fa9e (diff) | |
download | ffmpeg-df5be5e27575827d8da404fc066be0f9ff801d2e.tar.gz |
lavfi/avfilter: raise filter_frame() error.
-rw-r--r-- | libavfilter/avfilter.c | 3 |
1 files changed, 1 insertions, 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; |