Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
95efc651
Commit
95efc651
authored
May 11, 2015
by
Michael Niedermayer
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/url: Use size_t for len from strlen()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
28b7d7a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
url.c
libavformat/url.c
+1
-1
No files found.
libavformat/url.c
View file @
95efc651
...
@@ -68,7 +68,7 @@ int ff_url_join(char *str, int size, const char *proto,
...
@@ -68,7 +68,7 @@ int ff_url_join(char *str, int size, const char *proto,
av_strlcatf
(
str
,
size
,
":%d"
,
port
);
av_strlcatf
(
str
,
size
,
":%d"
,
port
);
if
(
fmt
)
{
if
(
fmt
)
{
va_list
vl
;
va_list
vl
;
in
t
len
=
strlen
(
str
);
size_
t
len
=
strlen
(
str
);
va_start
(
vl
,
fmt
);
va_start
(
vl
,
fmt
);
vsnprintf
(
str
+
len
,
size
>
len
?
size
-
len
:
0
,
fmt
,
vl
);
vsnprintf
(
str
+
len
,
size
>
len
?
size
-
len
:
0
,
fmt
,
vl
);
...
...
zhaoyunfei
@zhaoyunfei
mentioned in commit
17ad9778
·
May 18, 2020
mentioned in commit
17ad9778
mentioned in commit 17ad9778a9a3da3f7c314c31ba9bc78b5ede8c4f
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment