diff options
author | Limin Wang <lance.lmwang@gmail.com> | 2020-03-31 22:08:08 +0800 |
---|---|---|
committer | Limin Wang <lance.lmwang@gmail.com> | 2020-05-03 05:28:33 +0800 |
commit | e9b35a249d224b2a93ffe45a1ffb7448972b83f3 (patch) | |
tree | 02f1f3d44cd4431b98d6d7e55184ee1cf2e573a0 /libavformat/libsrt.c | |
parent | 6e95ce8cc9ae30e0e617e96e8d7e46a696b8965e (diff) | |
download | ffmpeg-e9b35a249d224b2a93ffe45a1ffb7448972b83f3.tar.gz |
avformat/libsrt: change open_timeout to int64_t to avoid integer overflow
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavformat/libsrt.c')
-rw-r--r-- | libavformat/libsrt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c index c01d6391c6..4de575b37c 100644 --- a/libavformat/libsrt.c +++ b/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(); |