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
a1492c7c
Commit
a1492c7c
authored
Mar 08, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASF: parse correctly advanced_mutual_exclusion types
parent
1cb53037
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
modules/demux/asf/libasf.c
modules/demux/asf/libasf.c
+9
-0
modules/demux/asf/libasf_guid.h
modules/demux/asf/libasf_guid.h
+11
-0
No files found.
modules/demux/asf/libasf.c
View file @
a1492c7c
...
...
@@ -983,6 +983,15 @@ static int ASF_ReadObject_advanced_mutual_exclusion( stream_t *s,
ASF_GetGUID
(
&
p_ae
->
type
,
&
p_data
[
0
]
);
ASF_SKIP
(
16
);
#ifdef ASF_DEBUG
if
(
guidcmp
(
&
p_ae
->
type
,
&
asf_guid_mutex_language
)
)
msg_Dbg
(
s
,
"Language exclusion"
);
else
if
(
guidcmp
(
&
p_ae
->
type
,
&
asf_guid_mutex_bitrate
)
)
msg_Dbg
(
s
,
"Bitrate exclusion"
);
else
msg_Warn
(
s
,
"Unknown exclusion type"
);
#endif
p_ae
->
i_stream_number_count
=
ASF_READ2
();
p_ae
->
pi_stream_number
=
calloc
(
p_ae
->
i_stream_number_count
,
sizeof
(
int
)
);
...
...
modules/demux/asf/libasf_guid.h
View file @
a1492c7c
...
...
@@ -204,6 +204,17 @@ static const guid_t asf_no_error_correction_guid =
static
const
guid_t
asf_guid_audio_conceal_spread
=
{
0xBFC3CD50
,
0x618F
,
0x11CF
,
{
0x8B
,
0xB2
,
0x00
,
0xAA
,
0x00
,
0xB4
,
0xE2
,
0x20
}};
// Mutual exclusion
static
const
guid_t
asf_guid_mutex_language
=
{
0xD6E22A00
,
0x35DA
,
0x11D1
,
{
0x90
,
0x34
,
0x00
,
0xA0
,
0xC9
,
0x03
,
0x49
,
0xBE
}};
static
const
guid_t
asf_guid_mutex_bitrate
=
{
0xD6E22A01
,
0x35DA
,
0x11D1
,
{
0x90
,
0x34
,
0x00
,
0xA0
,
0xC9
,
0x03
,
0x49
,
0xBE
}};
static
const
guid_t
asf_guid_mutex_unknown
=
{
0xD6E22A02
,
0x35DA
,
0x11D1
,
{
0x90
,
0x34
,
0x00
,
0xA0
,
0xC9
,
0x03
,
0x49
,
0xBE
}};
/****************************************************************************
* GUID functions
****************************************************************************/
...
...
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