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
8ae8da34
Commit
8ae8da34
authored
Apr 30, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MKV: reduce the scope of the var loop counters
parent
e21a40d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/demux/mkv/virtual_segment.cpp
modules/demux/mkv/virtual_segment.cpp
+2
-3
No files found.
modules/demux/mkv/virtual_segment.cpp
View file @
8ae8da34
...
...
@@ -33,17 +33,16 @@ void virtual_segment_c::PrepareChapters( )
// !!! should be called only once !!!
matroska_segment_c
*
p_segment
;
size_t
i
,
j
;
// copy editions from the first segment
p_segment
=
linked_segments
[
0
];
p_editions
=
&
p_segment
->
stored_editions
;
for
(
i
=
1
;
i
<
linked_segments
.
size
();
i
++
)
for
(
size_t
i
=
1
;
i
<
linked_segments
.
size
();
i
++
)
{
p_segment
=
linked_segments
[
i
];
// FIXME assume we have the same editions in all segments
for
(
j
=
0
;
j
<
p_segment
->
stored_editions
.
size
();
j
++
)
for
(
size_t
j
=
0
;
j
<
p_segment
->
stored_editions
.
size
();
j
++
)
{
if
(
j
>=
p_editions
->
size
()
)
/* Protect against broken files (?) */
break
;
...
...
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