Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
2433ab08
Commit
2433ab08
authored
Aug 13, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/stream_out/standard.c: fixed segfault on close.
parent
26db09c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/stream_out/standard.c
modules/stream_out/standard.c
+2
-2
No files found.
modules/stream_out/standard.c
View file @
2433ab08
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* standard.c
* standard.c
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* Copyright (C) 2001, 2002 VideoLAN
* $Id: standard.c,v 1.1
0 2003/08/13 19:38:28
gbazin Exp $
* $Id: standard.c,v 1.1
1 2003/08/13 21:15:42
gbazin Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -92,6 +92,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -92,6 +92,7 @@ static int Open( vlc_object_t *p_this )
if
(
psz_ipv
==
NULL
)
psz_ipv
=
"4"
;
if
(
psz_ipv
==
NULL
)
psz_ipv
=
"4"
;
if
(
psz_v6_scope
==
NULL
)
psz_v6_scope
=
DEFAULT_IPV6_SCOPE
;
if
(
psz_v6_scope
==
NULL
)
psz_v6_scope
=
DEFAULT_IPV6_SCOPE
;
p_sys
->
p_sap
=
NULL
;
p_sys
->
p_sap
=
NULL
;
p_sys
->
p_slp
=
NULL
;
msg_Dbg
(
p_this
,
"creating `%s/%s://%s'"
,
msg_Dbg
(
p_this
,
"creating `%s/%s://%s'"
,
psz_access
,
psz_mux
,
psz_url
);
psz_access
,
psz_mux
,
psz_url
);
...
@@ -138,7 +139,6 @@ static int Open( vlc_object_t *p_this )
...
@@ -138,7 +139,6 @@ static int Open( vlc_object_t *p_this )
if
(
p_slp_cfg
&&
(
strstr
(
psz_access
,
"udp"
)
||
if
(
p_slp_cfg
&&
(
strstr
(
psz_access
,
"udp"
)
||
strstr
(
psz_access
,
"rtp"
)
)
)
strstr
(
psz_access
,
"rtp"
)
)
)
{
{
p_sys
->
p_slp
=
NULL
;
msg_Info
(
p_this
,
"SLP Enabled"
);
msg_Info
(
p_this
,
"SLP Enabled"
);
if
(
sout_SLPReg
(
p_sout
,
psz_url
,
if
(
sout_SLPReg
(
p_sout
,
psz_url
,
p_slp_cfg
->
psz_value
?
p_slp_cfg
->
psz_value
:
psz_url
)
)
p_slp_cfg
->
psz_value
?
p_slp_cfg
->
psz_value
:
psz_url
)
)
...
...
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