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
5fe54fde
Commit
5fe54fde
authored
Apr 29, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASF: cosmetics
parent
29442477
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+5
-6
modules/demux/asf/libasf_guid.h
modules/demux/asf/libasf_guid.h
+3
-3
No files found.
modules/demux/asf/asf.c
View file @
5fe54fde
...
...
@@ -836,8 +836,8 @@ static int DemuxInit( demux_t *p_demux )
i_format
=
GetWLE
(
&
p_data
[
0
]
);
wf_tag_to_fourcc
(
i_format
,
&
fmt
.
i_codec
,
NULL
);
fmt
.
audio
.
i_channels
=
GetWLE
(
&
p_data
[
2
]
);
fmt
.
audio
.
i_rate
=
GetDWLE
(
&
p_data
[
4
]
);
fmt
.
i_bitrate
=
GetDWLE
(
&
p_data
[
8
]
)
*
8
;
fmt
.
audio
.
i_rate
=
GetDWLE
(
&
p_data
[
4
]
);
fmt
.
i_bitrate
=
GetDWLE
(
&
p_data
[
8
]
)
*
8
;
fmt
.
audio
.
i_blockalign
=
GetWLE
(
&
p_data
[
12
]
);
fmt
.
audio
.
i_bitspersample
=
GetWLE
(
&
p_data
[
14
]
);
...
...
@@ -951,8 +951,8 @@ static int DemuxInit( demux_t *p_demux )
else
wf_tag_to_fourcc
(
i_format
,
&
fmt
.
i_codec
,
NULL
);
fmt
.
audio
.
i_channels
=
GetWLE
(
&
p_data
[
2
]
);
fmt
.
audio
.
i_rate
=
GetDWLE
(
&
p_data
[
4
]
);
fmt
.
i_bitrate
=
GetDWLE
(
&
p_data
[
8
]
)
*
8
;
fmt
.
audio
.
i_rate
=
GetDWLE
(
&
p_data
[
4
]
);
fmt
.
i_bitrate
=
GetDWLE
(
&
p_data
[
8
]
)
*
8
;
fmt
.
audio
.
i_blockalign
=
GetWLE
(
&
p_data
[
12
]
);
fmt
.
audio
.
i_bitspersample
=
GetWLE
(
&
p_data
[
14
]
);
fmt
.
b_packetized
=
true
;
...
...
@@ -1122,7 +1122,6 @@ error:
static
void
DemuxEnd
(
demux_t
*
p_demux
)
{
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
int
i
;
if
(
p_sys
->
p_root
)
{
...
...
@@ -1135,7 +1134,7 @@ static void DemuxEnd( demux_t *p_demux )
p_sys
->
meta
=
NULL
;
}
for
(
i
=
0
;
i
<
128
;
i
++
)
for
(
i
nt
i
=
0
;
i
<
128
;
i
++
)
{
asf_track_t
*
tk
=
p_sys
->
track
[
i
];
...
...
modules/demux/asf/libasf_guid.h
View file @
5fe54fde
...
...
@@ -97,6 +97,9 @@ static const guid_t asf_object_content_description_guid =
static
const
guid_t
asf_object_extended_content_description
=
{
0xD2D0A440
,
0xE307
,
0x11D2
,
{
0x97
,
0xF0
,
0x00
,
0xA0
,
0xC9
,
0x5E
,
0xA8
,
0x50
}};
static
const
guid_t
asf_object_padding
=
{
0x1806D474
,
0xCADF
,
0x4509
,
{
0xA4
,
0xBA
,
0x9A
,
0xAB
,
0xCB
,
0x96
,
0xAA
,
0xE8
}};
/* Header Extension object */
static
const
guid_t
asf_object_advanced_mutual_exclusion
=
{
0xA08649CF
,
0x4775
,
0x4670
,
{
0x8A
,
0x16
,
0x6E
,
0x35
,
0x35
,
0x75
,
0x66
,
0xCD
}};
...
...
@@ -150,9 +153,6 @@ static const guid_t asf_object_extended_content_encryption_guid =
static
const
guid_t
asf_object_digital_signature_guid
=
{
0x2211B3FC
,
0xBD23
,
0x11D2
,
{
0xB4
,
0xB7
,
0x00
,
0xA0
,
0xC9
,
0x55
,
0xFC
,
0x6E
}};
static
const
guid_t
asf_object_padding
=
{
0x1806D474
,
0xCADF
,
0x4509
,
{
0xA4
,
0xBA
,
0x9A
,
0xAB
,
0xCB
,
0x96
,
0xAA
,
0xE8
}};
// header extension
static
const
guid_t
asf_object_extended_stream_properties_guid
=
{
0x14E6A5CB
,
0xC672
,
0x4332
,
{
0x83
,
0x99
,
0xA9
,
0x69
,
0x52
,
0x06
,
0x5B
,
0x5A
}};
...
...
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