Commit 3721aaea authored by Zhao Zhili's avatar Zhao Zhili Committed by 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: 's avatarZhao Jun <barryjzhao@tencent.com>
Signed-off-by: 's avatarSteven Liu <liuqi05@kuaishou.com>
parent 397a777a
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment