aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-11 03:50:01 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-15 10:04:51 +0200
commitb1652fbb9e1232446d3cdb826d3e8eeeefeb0eb5 (patch)
treec8eddbd36fa4ecd47d2ce26edc71baef474d5e26 /libavformat
parent39236d56181e9f870d4281ec1beb0f6496579b4a (diff)
downloadffmpeg-b1652fbb9e1232446d3cdb826d3e8eeeefeb0eb5.tar.gz
avformat/url: Use size_t for len from strlen()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 95efc651294b3cf3e5ec4b3ed36e79d7261545ff) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/url.c b/libavformat/url.c
index acfb0cf2f0..5dd28a253d 100644
--- a/libavformat/url.c
+++ b/libavformat/url.c
@@ -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);