Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
0e1ae34c
Commit
0e1ae34c
authored
Jan 31, 2016
by
Michael Tänzer
Committed by
Jean-Baptiste Kempf
Feb 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demux: ogg: Fix creating index entries before the first existing entry
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
415d10cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
modules/demux/oggseek.c
modules/demux/oggseek.c
+3
-4
No files found.
modules/demux/oggseek.c
View file @
0e1ae34c
...
...
@@ -100,12 +100,11 @@ const demux_index_entry_t *OggSeek_IndexAdd ( logical_stream_t *p_stream,
int64_t
i_pagepos
)
{
demux_index_entry_t
*
idx
;
demux_index_entry_t
*
oidx
;
demux_index_entry_t
*
last_idx
=
NULL
;
if
(
p_stream
==
NULL
)
return
NULL
;
oidx
=
idx
=
p_stream
->
idx
;
idx
=
p_stream
->
idx
;
if
(
i_timestamp
<
1
||
i_pagepos
<
1
)
return
NULL
;
...
...
@@ -137,8 +136,8 @@ const demux_index_entry_t *OggSeek_IndexAdd ( logical_stream_t *p_stream,
}
else
{
idx
->
p_next
=
o
idx
;
o
idx
=
idx
;
idx
->
p_next
=
p_stream
->
idx
;
p_stream
->
idx
=
idx
;
}
if
(
idx
->
p_next
!=
NULL
)
...
...
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