Browse Source

TCP: change default timeout to 5sec

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Michael Niedermayer 14 years ago
parent
commit
35bed44fc9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/tcp.c

+ 1
- 1
libavformat/tcp.c View File

@@ -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];



Loading…
Cancel
Save