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
6ec025c7
Commit
6ec025c7
authored
Apr 29, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"Header Extension" is mandatory in asf.
parent
b5ef9cbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
modules/mux/asf.c
modules/mux/asf.c
+6
-9
No files found.
modules/mux/asf.c
View file @
6ec025c7
...
...
@@ -910,7 +910,7 @@ static block_t *asf_header_create( sout_mux_t *p_mux, bool b_broadcast )
}
}
i_header_ext_size
=
i_cm_size
?
i_cm_size
+
46
:
0
;
i_header_ext_size
=
i_cm_size
?
i_cm_size
+
46
:
46
;
i_size
+=
i_ci_size
+
i_cd_size
+
i_header_ext_size
;
if
(
p_sys
->
b_asf_http
)
...
...
@@ -952,14 +952,11 @@ static block_t *asf_header_create( sout_mux_t *p_mux, bool b_broadcast )
bo_addle_u32
(
&
bo
,
p_sys
->
i_bitrate
);
/* maxbitrate */
/* header extension */
if
(
i_header_ext_size
)
{
bo_add_guid
(
&
bo
,
&
asf_object_header_extension_guid
);
bo_addle_u64
(
&
bo
,
i_header_ext_size
);
bo_add_guid
(
&
bo
,
&
asf_guid_reserved_1
);
bo_addle_u16
(
&
bo
,
6
);
bo_addle_u32
(
&
bo
,
i_header_ext_size
-
46
);
}
bo_add_guid
(
&
bo
,
&
asf_object_header_extension_guid
);
bo_addle_u64
(
&
bo
,
i_header_ext_size
);
bo_add_guid
(
&
bo
,
&
asf_guid_reserved_1
);
bo_addle_u16
(
&
bo
,
6
);
bo_addle_u32
(
&
bo
,
i_header_ext_size
-
46
);
/* metadata object (part of header extension) */
if
(
i_cm_size
)
...
...
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