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
af8c1f65
Commit
af8c1f65
authored
Feb 08, 2013
by
Denis Charmet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle case where dwFormat is WAVE_FORMAT_EXTENSIBLE
parent
b5cf1c1e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
modules/demux/mkv/matroska_segment_parse.cpp
modules/demux/mkv/matroska_segment_parse.cpp
+9
-2
No files found.
modules/demux/mkv/matroska_segment_parse.cpp
View file @
af8c1f65
...
@@ -1305,7 +1305,14 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
...
@@ -1305,7 +1305,14 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
else
else
{
{
WAVEFORMATEX
*
p_wf
=
(
WAVEFORMATEX
*
)
p_tk
->
p_extra_data
;
WAVEFORMATEX
*
p_wf
=
(
WAVEFORMATEX
*
)
p_tk
->
p_extra_data
;
if
(
p_wf
->
wFormatTag
==
WAVE_FORMAT_EXTENSIBLE
&&
p_tk
->
i_extra_data
>=
sizeof
(
WAVEFORMATEXTENSIBLE
)
)
{
WAVEFORMATEXTENSIBLE
*
p_wext
=
(
WAVEFORMATEXTENSIBLE
*
)
p_wf
;
sf_tag_to_fourcc
(
&
p_wext
->
SubFormat
,
&
p_tk
->
fmt
.
i_codec
,
NULL
);
/* FIXME should we use Samples and dwChannelMask?*/
}
else
wf_tag_to_fourcc
(
GetWLE
(
&
p_wf
->
wFormatTag
),
&
p_tk
->
fmt
.
i_codec
,
NULL
);
wf_tag_to_fourcc
(
GetWLE
(
&
p_wf
->
wFormatTag
),
&
p_tk
->
fmt
.
i_codec
,
NULL
);
if
(
p_tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'u'
,
'n'
,
'd'
,
'f'
)
)
if
(
p_tk
->
fmt
.
i_codec
==
VLC_FOURCC
(
'u'
,
'n'
,
'd'
,
'f'
)
)
...
...
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