Browse Source

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

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
tags/n4.3
Limin Wang 5 years ago
parent
commit
e9b35a249d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/libsrt.c

+ 1
- 1
libavformat/libsrt.c 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();


Loading…
Cancel
Save