Commit e9b35a24 authored by Limin Wang's avatar Limin Wang

avformat/libsrt: change open_timeout to int64_t to avoid integer overflow

Signed-off-by: 's avatarLimin Wang <lance.lmwang@gmail.com>
parent 6e95ce8c
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment