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
06454cdd
Commit
06454cdd
authored
Dec 31, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix an issue with AStreamRefillStream and mp4 indexes
parent
1752e105
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/input/stream.c
src/input/stream.c
+3
-4
No files found.
src/input/stream.c
View file @
06454cdd
...
...
@@ -879,7 +879,7 @@ static int AStreamSeekBlock( stream_t *s, int64_t i_pos )
}
else
{
/* Read enough
t
data */
/* Read enough data */
while
(
p_sys
->
block
.
i_start
+
p_sys
->
block
.
i_size
<
i_pos
)
{
if
(
AStreamRefillBlock
(
s
)
)
...
...
@@ -1119,7 +1119,7 @@ static int AStreamSeekStream( stream_t *s, int64_t i_pos )
#ifdef STREAM_DEBUG
msg_Dbg
(
s
,
"AStreamSeekStream: to "
I64Fd
" pos="
I64Fd
"tk=%d start="
I64Fd
" offset=%d end="
I64Fd
,
"
tk=%d start="
I64Fd
" offset=%d end="
I64Fd
,
i_pos
,
p_sys
->
i_pos
,
p_sys
->
stream
.
i_tk
,
p_sys
->
stream
.
tk
[
p_sys
->
stream
.
i_tk
].
i_start
,
p_sys
->
stream
.
i_offset
,
...
...
@@ -1149,8 +1149,7 @@ static int AStreamSeekStream( stream_t *s, int64_t i_pos )
if
(
p_sys
->
stream
.
i_used
<
STREAM_READ_ATONCE
/
2
)
{
p_sys
->
stream
.
i_used
=
STREAM_READ_ATONCE
/
2
;
if
(
AStreamRefillStream
(
s
)
)
return
VLC_EGENERIC
;
AStreamRefillStream
(
s
);
}
}
return
VLC_SUCCESS
;
...
...
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