Commit d578f947 authored by Martin Storsjö's avatar Martin Storsjö

rtmp: Use av_strlcat instead of strncat

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent b3fab1f2
......@@ -2188,7 +2188,7 @@ static int rtmp_open(URLContext *s, const char *uri, int flags)
} else {
rt->playpath[0] = 0;
}
strncat(rt->playpath, fname, PLAYPATH_MAX_LENGTH - 5);
av_strlcat(rt->playpath, fname, PLAYPATH_MAX_LENGTH);
}
if (!rt->tcurl) {
......
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