From e9b35a249d224b2a93ffe45a1ffb7448972b83f3 Mon Sep 17 00:00:00 2001 From: Limin Wang Date: Tue, 31 Mar 2020 22:08:08 +0800 Subject: [PATCH] avformat/libsrt: change open_timeout to int64_t to avoid integer overflow Signed-off-by: Limin Wang --- libavformat/libsrt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();