Commit b2d31dcf authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/url: Use size_t for len from strlen()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 95efc651)
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a9f003b8
......@@ -68,7 +68,7 @@ int ff_url_join(char *str, int size, const char *proto,
av_strlcatf(str, size, ":%d", port);
if (fmt) {
va_list vl;
int len = strlen(str);
size_t len = strlen(str);
va_start(vl, fmt);
vsnprintf(str + len, size > len ? size - len : 0, fmt, vl);
......
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