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
f33b24f4
Commit
f33b24f4
authored
Apr 18, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "network/io.c: minor fix"
This reverts commit
d6b589b1
. This broke mmsh radios
parent
576ebf38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/network/io.c
src/network/io.c
+4
-4
No files found.
src/network/io.c
View file @
f33b24f4
...
@@ -259,12 +259,9 @@ ssize_t
...
@@ -259,12 +259,9 @@ ssize_t
net_Read
(
vlc_object_t
*
restrict
p_this
,
int
fd
,
const
v_socket_t
*
vs
,
net_Read
(
vlc_object_t
*
restrict
p_this
,
int
fd
,
const
v_socket_t
*
vs
,
void
*
restrict
p_buf
,
size_t
i_buflen
,
bool
waitall
)
void
*
restrict
p_buf
,
size_t
i_buflen
,
bool
waitall
)
{
{
#ifndef POLLRDHUP
/* This is nice but non-portable */
# define POLLRDHUP 0
#endif
size_t
i_total
=
0
;
size_t
i_total
=
0
;
struct
pollfd
ufd
[
2
]
=
{
struct
pollfd
ufd
[
2
]
=
{
{
.
fd
=
fd
,
.
events
=
POLLIN
|
POLLRDHUP
},
{
.
fd
=
fd
,
.
events
=
POLLIN
},
{
.
fd
=
vlc_object_waitpipe
(
p_this
),
.
events
=
POLLIN
},
{
.
fd
=
vlc_object_waitpipe
(
p_this
),
.
events
=
POLLIN
},
};
};
...
@@ -282,6 +279,9 @@ net_Read (vlc_object_t *restrict p_this, int fd, const v_socket_t *vs,
...
@@ -282,6 +279,9 @@ net_Read (vlc_object_t *restrict p_this, int fd, const v_socket_t *vs,
continue
;
continue
;
}
}
#ifndef POLLRDHUP
/* This is nice but non-portable */
# define POLLRDHUP 0
#endif
if
(
i_total
>
0
)
if
(
i_total
>
0
)
{
{
/* Errors (-1) and EOF (0) will be returned on next call,
/* Errors (-1) and EOF (0) will be returned on next call,
...
...
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