[FFmpeg-cvslog] avformat/libsrt: change open_timeout to int64_t to avoid integer overflow
Limin Wang
git at videolan.org
Sun May 3 01:45:46 EEST 2020
ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Tue Mar 31 22:08:08 2020 +0800| [e9b35a249d224b2a93ffe45a1ffb7448972b83f3] | committer: Limin Wang
avformat/libsrt: change open_timeout to int64_t to avoid integer overflow
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e9b35a249d224b2a93ffe45a1ffb7448972b83f3
---
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();
More information about the ffmpeg-cvslog
mailing list