Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
d9161562
Commit
d9161562
authored
Jul 29, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use NULL char pointer
parent
c98c4ee9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
modules/stream_out/rtp.c
modules/stream_out/rtp.c
+5
-1
No files found.
modules/stream_out/rtp.c
View file @
d9161562
...
@@ -420,7 +420,11 @@ static int Open( vlc_object_t *p_this )
...
@@ -420,7 +420,11 @@ static int Open( vlc_object_t *p_this )
{
{
sprintf
(
access
,
"udp{raw}"
);
sprintf
(
access
,
"udp{raw}"
);
}
}
if
(
p_sys
->
psz_destination
!=
NULL
)
sprintf
(
url
,
"%s:%d"
,
p_sys
->
psz_destination
,
p_sys
->
i_port
);
sprintf
(
url
,
"%s:%d"
,
p_sys
->
psz_destination
,
p_sys
->
i_port
);
else
sprintf
(
url
,
":%d"
,
p_sys
->
i_port
);
if
(
!
(
p_sys
->
p_access
=
sout_AccessOutNew
(
p_sout
,
access
,
url
)
)
)
if
(
!
(
p_sys
->
p_access
=
sout_AccessOutNew
(
p_sout
,
access
,
url
)
)
)
{
{
msg_Err
(
p_stream
,
"cannot create the access out for %s://%s"
,
msg_Err
(
p_stream
,
"cannot create the access out for %s://%s"
,
...
...
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