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
6ccfada5
Commit
6ccfada5
authored
Jun 23, 2003
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a segfault that could happen if you have ipv6 support enabled, but no address
parent
0c0ca771
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
modules/stream_out/standard.c
modules/stream_out/standard.c
+2
-2
src/stream_output/announce.c
src/stream_output/announce.c
+2
-0
No files found.
modules/stream_out/standard.c
View file @
6ccfada5
...
@@ -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.
5 2003/06/23 11:41:26
zorglub Exp $
* $Id: standard.c,v 1.
6 2003/06/23 13:45:30
zorglub Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -59,7 +59,7 @@ struct sout_stream_sys_t
...
@@ -59,7 +59,7 @@ struct sout_stream_sys_t
{
{
sout_mux_t
*
p_mux
;
sout_mux_t
*
p_mux
;
sap_session_t
*
p_sap
;
sap_session_t
*
p_sap
;
unsigned
int
b_sap
;
vlc_bool_t
b_sap
;
};
};
/*****************************************************************************
/*****************************************************************************
...
...
src/stream_output/announce.c
View file @
6ccfada5
...
@@ -98,6 +98,7 @@ sap_session_t * sout_SAPNew ( sout_instance_t *p_sout ,
...
@@ -98,6 +98,7 @@ sap_session_t * sout_SAPNew ( sout_instance_t *p_sout ,
if
(
!
(
p_network
=
module_Need
(
p_sout
,
"network"
,
psz_network
)
)
)
if
(
!
(
p_network
=
module_Need
(
p_sout
,
"network"
,
psz_network
)
)
)
{
{
msg_Warn
(
p_sout
,
"failed to open a connection (udp)"
);
msg_Warn
(
p_sout
,
"failed to open a connection (udp)"
);
return
NULL
;
}
}
module_Unneed
(
p_sout
,
p_network
);
module_Unneed
(
p_sout
,
p_network
);
...
@@ -167,6 +168,7 @@ sap_session_t * sout_SAPNew ( sout_instance_t *p_sout ,
...
@@ -167,6 +168,7 @@ sap_session_t * sout_SAPNew ( sout_instance_t *p_sout ,
if
(
!
(
p_network
=
module_Need
(
p_sout
,
"network"
,
psz_network
)
)
)
if
(
!
(
p_network
=
module_Need
(
p_sout
,
"network"
,
psz_network
)
)
)
{
{
msg_Warn
(
p_sout
,
"failed to open a connection (udp)"
);
msg_Warn
(
p_sout
,
"failed to open a connection (udp)"
);
return
NULL
;
}
}
module_Unneed
(
p_sout
,
p_network
);
module_Unneed
(
p_sout
,
p_network
);
...
...
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