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
d054685c
Commit
d054685c
authored
Aug 01, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stream.c: call Seek if stream_Read( s, NULL, skip );
parent
2879411e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/input/stream.c
src/input/stream.c
+6
-0
No files found.
src/input/stream.c
View file @
d054685c
...
...
@@ -479,6 +479,9 @@ static int AStreamReadBlock( stream_t *s, void *p_read, int i_read )
if
(
p_sys
->
block
.
p_current
==
NULL
)
return
0
;
if
(
p_read
==
NULL
)
return
AStreamSeekBlock
(
s
,
p_sys
->
i_pos
+
i_read
)
?
0
:
i_read
;
while
(
i_data
<
i_read
)
{
int
i_current
=
...
...
@@ -795,6 +798,9 @@ static int AStreamReadStream( stream_t *s, void *p_read, int i_read )
if
(
tk
->
i_start
>=
tk
->
i_end
)
return
0
;
/* EOF */
if
(
p_read
==
NULL
)
return
AStreamSeekStream
(
s
,
p_sys
->
i_pos
+
i_read
)
?
0
:
i_read
;
#if 0
msg_Dbg( s, "AStreamReadStream: %d pos="I64Fd" tk=%d start="I64Fd
" offset=%d end="I64Fd,
...
...
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