Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
65e72261
Commit
65e72261
authored
Mar 31, 2007
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use av_strdup
Originally committed as revision 8567 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
55d07ba6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
ffserver.c
ffserver.c
+1
-5
No files found.
ffserver.c
View file @
65e72261
...
...
@@ -4320,11 +4320,7 @@ static int parse_ffconfig(const char *filename)
get_arg
(
arg
,
sizeof
(
arg
),
&
p
);
if
(
stream
)
{
av_freep
(
&
stream
->
rtsp_option
);
/* XXX: av_strdup ? */
stream
->
rtsp_option
=
av_malloc
(
strlen
(
arg
)
+
1
);
if
(
stream
->
rtsp_option
)
{
strcpy
(
stream
->
rtsp_option
,
arg
);
}
stream
->
rtsp_option
=
av_strdup
(
arg
);
}
}
else
if
(
!
strcasecmp
(
cmd
,
"MulticastAddress"
))
{
get_arg
(
arg
,
sizeof
(
arg
),
&
p
);
...
...
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