Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
19b11860
Commit
19b11860
authored
Aug 22, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/misc/net.c: fixed segfault.
parent
e179dada
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
src/misc/net.c
src/misc/net.c
+3
-5
No files found.
src/misc/net.c
View file @
19b11860
...
@@ -511,6 +511,9 @@ int __net_OpenUDP( vlc_object_t *p_this, const char *psz_bind, int i_bind,
...
@@ -511,6 +511,9 @@ int __net_OpenUDP( vlc_object_t *p_this, const char *psz_bind, int i_bind,
network_socket_t
sock
;
network_socket_t
sock
;
module_t
*
p_network
=
NULL
;
module_t
*
p_network
=
NULL
;
if
(
psz_server
==
NULL
)
psz_server
=
""
;
if
(
psz_bind
==
NULL
)
psz_bind
=
""
;
/* Prepare the network_socket_t structure */
/* Prepare the network_socket_t structure */
sock
.
psz_bind_addr
=
psz_bind
;
sock
.
psz_bind_addr
=
psz_bind
;
sock
.
i_bind_port
=
i_bind
;
sock
.
i_bind_port
=
i_bind
;
...
@@ -520,11 +523,6 @@ int __net_OpenUDP( vlc_object_t *p_this, const char *psz_bind, int i_bind,
...
@@ -520,11 +523,6 @@ int __net_OpenUDP( vlc_object_t *p_this, const char *psz_bind, int i_bind,
sock
.
v6only
=
0
;
sock
.
v6only
=
0
;
sock
.
i_handle
=
-
1
;
sock
.
i_handle
=
-
1
;
if
(
psz_server
==
NULL
)
psz_server
=
""
;
if
(
psz_bind
==
NULL
)
psz_bind
=
""
;
msg_Dbg
(
p_this
,
"net: connecting to '[%s]:%d@[%s]:%d'"
,
msg_Dbg
(
p_this
,
"net: connecting to '[%s]:%d@[%s]:%d'"
,
psz_server
,
i_server
,
psz_bind
,
i_bind
);
psz_server
,
i_server
,
psz_bind
,
i_bind
);
...
...
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