aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tcp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-05-30 02:39:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-05-30 02:39:26 +0200
commit35bed44fc95eb1165f75b0c513d743f79ce8410c (patch)
tree9ea9af384784de36e79125c5e8271b827e66e6bc /libavformat/tcp.c
parenta22500744bf878e1c8f9dfd1c6695e861f544780 (diff)
downloadffmpeg-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.c2
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];