mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-12 23:58:56 +00:00
TCP: change default timeout to 5sec
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a22500744b
commit
35bed44fc9
@ -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…
x
Reference in New Issue
Block a user