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

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
pull/338/head
Limin Wang 5 years ago
parent 6e95ce8cc9
commit e9b35a249d
  1. 2
      libavformat/libsrt.c

@ -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…
Cancel
Save