OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a225007
)
TCP: change default timeout to 5sec
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 30 May 2011 00:39:26 +0000
(
02:39
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 30 May 2011 00:39:26 +0000
(
02:39
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/tcp.c
patch
|
blob
|
history
diff --git
a/libavformat/tcp.c
b/libavformat/tcp.c
index
963a993
..
eb982d5
100644
(file)
--- 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 =
10
0;
+ int timeout =
5
0;
char hostname[1024],proto[1024],path[1024];
char portstr[10];