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:
Limin Wang 2020-03-31 22:08:08 +08:00
parent 6e95ce8cc9
commit e9b35a249d

View File

@ -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();