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
5cb15dcd
Commit
5cb15dcd
authored
Oct 15, 2005
by
Steve Lhomme
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mkv.cpp: more user-friendly error messages
parent
5eec5281
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+2
-2
No files found.
modules/demux/mkv.cpp
View file @
5cb15dcd
...
...
@@ -1964,14 +1964,14 @@ matroska_stream_c *demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, EbmlS
EDocType
doc_type
=
GetChild
<
EDocType
>
(
*
static_cast
<
EbmlHead
*>
(
p_l0
));
if
(
std
::
string
(
doc_type
)
!=
"matroska"
)
{
msg_Err
(
p_demux
,
"Not a Matroska file : %s "
,
std
::
string
(
doc_type
).
c_str
());
msg_Err
(
p_demux
,
"Not a Matroska file :
DocType =
%s "
,
std
::
string
(
doc_type
).
c_str
());
return
NULL
;
}
EDocTypeReadVersion
doc_read_version
=
GetChild
<
EDocTypeReadVersion
>
(
*
static_cast
<
EbmlHead
*>
(
p_l0
));
if
(
uint64
(
doc_read_version
)
!=
1
)
{
msg_Err
(
p_demux
,
"
Matroska Read version not matching : "
I64Fd
,
uint64
(
doc_read_version
));
msg_Err
(
p_demux
,
"
This matroska file is needs version "
I64Fd
" and this VLC only supports version 1"
,
uint64
(
doc_read_version
));
return
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