asrc_anullsrc: return EOF, not -1
authorAnton Khirnov <anton@khirnov.net>
Tue, 12 Mar 2013 19:17:32 +0000 (20:17 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 16 Mar 2013 04:36:46 +0000 (05:36 +0100)
libavfilter/asrc_anullsrc.c

index ed7186d..140ad46 100644 (file)
@@ -31,7 +31,7 @@
 
 static int request_frame(AVFilterLink *link)
 {
-    return -1;
+    return AVERROR_EOF;
 }
 
 static const AVFilterPad avfilter_asrc_anullsrc_outputs[] = {