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
e2fd6417
Commit
e2fd6417
authored
Nov 09, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
read -> recv for Wins(o|u)ck
parent
e63f18a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/access/rtp/input.c
modules/access/rtp/input.c
+3
-3
No files found.
modules/access/rtp/input.c
View file @
e2fd6417
...
@@ -53,7 +53,7 @@ static block_t *rtp_dgram_recv (int fd)
...
@@ -53,7 +53,7 @@ static block_t *rtp_dgram_recv (int fd)
block_cleanup_push
(
block
);
block_cleanup_push
(
block
);
poll
(
&
ufd
,
1
,
-
1
);
poll
(
&
ufd
,
1
,
-
1
);
len
=
re
ad
(
fd
,
block
->
p_buffer
,
block
->
i_buffer
);
len
=
re
cv
(
fd
,
block
->
p_buffer
,
block
->
i_buffer
,
0
);
vlc_cleanup_pop
();
vlc_cleanup_pop
();
if
((
len
<=
0
)
&&
(
ufd
.
revents
&
POLLHUP
))
if
((
len
<=
0
)
&&
(
ufd
.
revents
&
POLLHUP
))
...
@@ -85,7 +85,7 @@ static block_t *rtp_stream_recv (int fd)
...
@@ -85,7 +85,7 @@ static block_t *rtp_stream_recv (int fd)
ssize_t
val
;
ssize_t
val
;
poll
(
&
ufd
,
1
,
-
1
);
poll
(
&
ufd
,
1
,
-
1
);
val
=
re
ad
(
fd
,
hdr
+
len
,
2
-
len
);
val
=
re
cv
(
fd
,
hdr
+
len
,
2
-
len
,
0
);
if
(
val
<=
0
)
if
(
val
<=
0
)
return
NULL
;
return
NULL
;
len
+=
val
;
len
+=
val
;
...
@@ -101,7 +101,7 @@ static block_t *rtp_stream_recv (int fd)
...
@@ -101,7 +101,7 @@ static block_t *rtp_stream_recv (int fd)
block_cleanup_push
(
block
);
block_cleanup_push
(
block
);
poll
(
&
ufd
,
1
,
-
1
);
poll
(
&
ufd
,
1
,
-
1
);
val
=
re
ad
(
fd
,
block
->
p_buffer
+
i
,
block
->
i_buffer
-
i
);
val
=
re
cv
(
fd
,
block
->
p_buffer
+
i
,
block
->
i_buffer
-
i
,
0
);
vlc_cleanup_pop
();
vlc_cleanup_pop
();
if
(
val
<=
0
)
if
(
val
<=
0
)
...
...
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