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
775164ee
Commit
775164ee
authored
Aug 15, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv: inital Cluster check.
The check was stupid (always was). This seems way more logical.
parent
4d60c14f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+2
-4
No files found.
modules/demux/mkv.cpp
View file @
775164ee
...
@@ -1496,10 +1496,8 @@ static int Open( vlc_object_t * p_this )
...
@@ -1496,10 +1496,8 @@ static int Open( vlc_object_t * p_this )
p_segment
=
p_stream
->
segments
[
0
];
p_segment
=
p_stream
->
segments
[
0
];
if
(
p_segment
->
cluster
==
NULL
)
if
(
p_segment
->
cluster
==
NULL
)
{
{
msg_Warn
(
p_demux
,
"cannot find any cluster, damaged file ?"
);
msg_Err
(
p_demux
,
"cannot find any cluster, damaged file ?"
);
goto
error
;
// reset the stream reading to the first cluster of the segment used
p_stream
->
p_in
->
setFilePointer
(
p_segment
->
cluster
->
GetElementPosition
()
);
}
}
if
(
config_GetInt
(
p_demux
,
"mkv-preload-local-dir"
))
if
(
config_GetInt
(
p_demux
,
"mkv-preload-local-dir"
))
...
...
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