ffmpeg | branch: master | Zhao Zhili <quinkbl...@foxmail.com> | Sat Aug 14 
18:43:03 2021 +0800| [3721aaeaaae9f817abb843117ae8dae1dc280a7f] | committer: 
Steven Liu

avformat/libsrt: use a larger buffer for find_info_tag

The upper limit of strlen(streamid) is 512. Use a larger buffer for
future proof, for example, deal with percent-encoding.

Reviewed-by: Zhao Jun <barryjz...@tencent.com>
Signed-off-by: Steven Liu <liuq...@kuaishou.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3721aaeaaae9f817abb843117ae8dae1dc280a7f
---

 libavformat/libsrt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c
index 1610ce8318..cd8f5b1e7d 100644
--- a/libavformat/libsrt.c
+++ b/libavformat/libsrt.c
@@ -529,7 +529,7 @@ static int libsrt_open(URLContext *h, const char *uri, int 
flags)
 {
     SRTContext *s = h->priv_data;
     const char * p;
-    char buf[256];
+    char buf[1024];
     int ret = 0;
 
     if (srt_startup() < 0) {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to