diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-05-30 02:39:26 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-30 02:39:26 +0200 |
commit | 35bed44fc95eb1165f75b0c513d743f79ce8410c (patch) | |
tree | 9ea9af384784de36e79125c5e8271b827e66e6bc /libavformat/tcp.c | |
parent | a22500744bf878e1c8f9dfd1c6695e861f544780 (diff) | |
download | ffmpeg-35bed44fc95eb1165f75b0c513d743f79ce8410c.tar.gz |
TCP: change default timeout to 5sec
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r-- | libavformat/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 963a993495..eb982d5675 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]; |