mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avformat/libsrt: change open_timeout to int64_t to avoid integer overflow
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
6e95ce8cc9
commit
e9b35a249d
@ -361,7 +361,7 @@ static int libsrt_setup(URLContext *h, const char *uri, int flags)
|
||||
int ret;
|
||||
char hostname[1024],proto[1024],path[1024];
|
||||
char portstr[10];
|
||||
int open_timeout = 0;
|
||||
int64_t open_timeout = 0;
|
||||
int eid;
|
||||
|
||||
eid = srt_epoll_create();
|
||||
|
Loading…
Reference in New Issue
Block a user