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
e8ee74f3
Commit
e8ee74f3
authored
Oct 09, 2007
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a check against broken files (It would be great if someone that understand
the mkv demuxer could double checked it)
parent
1c1ed22d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+4
-0
No files found.
modules/demux/mkv.cpp
View file @
e8ee74f3
...
...
@@ -3082,7 +3082,11 @@ void virtual_segment_c::PrepareChapters( )
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
++
)
{
if
(
j
>=
p_editions
->
size
()
)
/* Protect against broken files (?) */
break
;
(
*
p_editions
)[
j
]
->
Append
(
*
p_segment
->
stored_editions
[
j
]
);
}
}
}
...
...
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