Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
e898c6ae
Commit
e898c6ae
authored
Oct 06, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MKV: fix SIGSEGV when codec id is empty
parent
9f1950e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/demux/mkv/matroska_segment_parse.cpp
modules/demux/mkv/matroska_segment_parse.cpp
+8
-0
No files found.
modules/demux/mkv/matroska_segment_parse.cpp
View file @
e898c6ae
...
...
@@ -1263,6 +1263,14 @@ void matroska_segment_c::ParseCluster( bool b_update_start_time )
int32_t
matroska_segment_c
::
TrackInit
(
mkv_track_t
*
p_tk
)
{
es_format_t
*
p_fmt
=
&
p_tk
->
fmt
;
if
(
p_tk
->
psz_codec
==
NULL
)
{
msg_Err
(
&
sys
.
demuxer
,
"Empty codec id"
);
p_tk
->
fmt
.
i_codec
=
VLC_FOURCC
(
'u'
,
'n'
,
'd'
,
'f'
);
return
0
;
}
if
(
!
strcmp
(
p_tk
->
psz_codec
,
"V_MS/VFW/FOURCC"
)
)
{
if
(
p_tk
->
i_extra_data
<
(
int
)
sizeof
(
VLC_BITMAPINFOHEADER
)
)
...
...
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