[FFmpeg-cvslog] TCP: change default timeout to 5sec

Michael Niedermayer git at videolan.org
Mon May 30 03:38:54 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon May 30 02:39:26 2011 +0200| [35bed44fc95eb1165f75b0c513d743f79ce8410c] | committer: Michael Niedermayer

TCP: change default timeout to 5sec

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/tcp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/tcp.c b/libavformat/tcp.c
index 963a993..eb982d5 100644
--- a/libavformat/tcp.c
+++ b/libavformat/tcp.c
@@ -45,7 +45,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags)
     char buf[256];
     int ret;
     socklen_t optlen;
-    int timeout = 100;
+    int timeout = 50;
     char hostname[1024],proto[1024],path[1024];
     char portstr[10];
 



More information about the ffmpeg-cvslog mailing list