[FFmpeg-cvslog] asrc_anullsrc: return EOF, not -1

Anton Khirnov git at videolan.org
Sat Mar 16 17:03:52 CET 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Mar 12 20:17:32 2013 +0100| [c2b9bd97f5499c972b2af5398dabda191b5775e7] | committer: Anton Khirnov

asrc_anullsrc: return EOF, not -1

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

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

diff --git a/libavfilter/asrc_anullsrc.c b/libavfilter/asrc_anullsrc.c
index ed7186d..140ad46 100644
--- a/libavfilter/asrc_anullsrc.c
+++ b/libavfilter/asrc_anullsrc.c
@@ -31,7 +31,7 @@
 
 static int request_frame(AVFilterLink *link)
 {
-    return -1;
+    return AVERROR_EOF;
 }
 
 static const AVFilterPad avfilter_asrc_anullsrc_outputs[] = {



More information about the ffmpeg-cvslog mailing list