[FFmpeg-cvslog] buffersrc: do not discard the error from ff_filter_frame()

Anton Khirnov git at videolan.org
Tue Feb 16 20:49:01 CET 2016


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Feb  9 22:01:26 2016 +0100| [fb25d99b0a5e21fb8cc184c7a9d3736387778266] | committer: Anton Khirnov

buffersrc: do not discard the error from ff_filter_frame()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fb25d99b0a5e21fb8cc184c7a9d3736387778266
---

 libavfilter/buffersrc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index f5b852f..0079f51 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -327,7 +327,7 @@ static int request_frame(AVFilterLink *link)
     }
     av_fifo_generic_read(c->fifo, &frame, sizeof(frame), NULL);
 
-    ff_filter_frame(link, frame);
+    ret = ff_filter_frame(link, frame);
 
     return ret;
 }



More information about the ffmpeg-cvslog mailing list