Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
a8379c11
Commit
a8379c11
authored
Aug 25, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asf: fixed some headers errors.
parent
349d96d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/mux/asf.c
modules/mux/asf.c
+5
-5
No files found.
modules/mux/asf.c
View file @
a8379c11
...
...
@@ -2,7 +2,7 @@
* asf.c
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: asf.c,v 1.
3 2003/08/25 01:31:25
fenrir Exp $
* $Id: asf.c,v 1.
4 2003/08/25 23:39:20
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -674,7 +674,7 @@ static sout_buffer_t *asf_header_create( sout_mux_t *p_mux,
/* header object */
bo_add_guid
(
&
bo
,
&
asf_object_header_guid
);
bo_addle_u64
(
&
bo
,
i_size
);
bo_addle_u32
(
&
bo
,
2
+
p_sys
->
i_track
);
bo_addle_u32
(
&
bo
,
2
+
p_sys
->
i_track
-
1
);
bo_add_u8
(
&
bo
,
1
);
bo_add_u8
(
&
bo
,
2
);
...
...
@@ -684,13 +684,13 @@ static sout_buffer_t *asf_header_create( sout_mux_t *p_mux,
bo_add_guid
(
&
bo
,
&
asf_object_file_properties_guid
);
bo_addle_u64
(
&
bo
,
104
);
bo_add_guid
(
&
bo
,
&
p_sys
->
fid
);
bo_addle_u64
(
&
bo
,
i_size
+
p_sys
->
i_packet_count
*
bo_addle_u64
(
&
bo
,
i_size
+
50
+
p_sys
->
i_packet_count
*
p_sys
->
i_packet_size
);
/* file size */
bo_addle_u64
(
&
bo
,
0
);
/* creation date */
bo_addle_u64
(
&
bo
,
p_sys
->
i_packet_count
);
bo_addle_u64
(
&
bo
,
b_broadcast
?
0xffffffffLL
:
p_sys
->
i_packet_count
);
bo_addle_u64
(
&
bo
,
i_duration
*
10
);
/* play duration (100ns) */
bo_addle_u64
(
&
bo
,
i_duration
*
10
);
/* send duration (100ns) */
bo_addle_u64
(
&
bo
,
10000
);
/* preroll duration (ms) */
bo_addle_u64
(
&
bo
,
4000
);
/* preroll duration (ms) */
bo_addle_u32
(
&
bo
,
b_broadcast
?
0x01
:
0x00
);
/* flags */
bo_addle_u32
(
&
bo
,
p_sys
->
i_packet_size
);
/* packet size min */
bo_addle_u32
(
&
bo
,
p_sys
->
i_packet_size
);
/* packet size max */
...
...
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