[FFmpeg-cvslog] lavf/msnwc: Return 0 if the probe function does not detect msnwc-tcp.

Carl Eugen Hoyos git at videolan.org
Mon Jun 29 17:41:01 CEST 2015


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Mon Jun 29 16:29:07 2015 +0200| [4b920d7b4a588f0625ac73649729ba5229e9449f] | committer: Carl Eugen Hoyos

lavf/msnwc: Return 0 if the probe function does not detect msnwc-tcp.

Reduces console spamming on debug level.

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

 libavformat/msnwc_tcp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/msnwc_tcp.c b/libavformat/msnwc_tcp.c
index 60225af..2ec18fb 100644
--- a/libavformat/msnwc_tcp.c
+++ b/libavformat/msnwc_tcp.c
@@ -67,7 +67,7 @@ static int msnwc_tcp_probe(AVProbeData *p)
         }
     }
 
-    return -1;
+    return 0;
 }
 
 static int msnwc_tcp_read_header(AVFormatContext *ctx)



More information about the ffmpeg-cvslog mailing list