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
f162a84f
Commit
f162a84f
authored
Feb 13, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Factorized extended header search (asf).
parent
27a3e8b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/demux/asf/asf.c
modules/demux/asf/asf.c
+3
-3
No files found.
modules/demux/asf/asf.c
View file @
f162a84f
...
...
@@ -732,13 +732,15 @@ static int DemuxInit( demux_t *p_demux )
&
asf_object_index_guid
,
0
);
const
bool
b_index
=
p_index
&&
p_index
->
i_index_entry_count
;
/* Find the extended header if any */
asf_object_t
*
p_hdr_ext
=
ASF_FindObject
(
p_sys
->
p_root
->
p_hdr
,
&
asf_object_header_extension_guid
,
0
);
for
(
unsigned
i_stream
=
0
;
i_stream
<
p_sys
->
i_track
;
i_stream
++
)
{
asf_track_t
*
tk
;
asf_object_stream_properties_t
*
p_sp
;
asf_object_extended_stream_properties_t
*
p_esp
;
asf_object_t
*
p_hdr_ext
;
bool
b_access_selected
;
p_sp
=
ASF_FindObject
(
p_sys
->
p_root
->
p_hdr
,
...
...
@@ -766,8 +768,6 @@ static int DemuxInit( demux_t *p_demux )
}
/* Find the associated extended_stream_properties if any */
p_hdr_ext
=
ASF_FindObject
(
p_sys
->
p_root
->
p_hdr
,
&
asf_object_header_extension_guid
,
0
);
if
(
p_hdr_ext
)
{
int
i_ext_stream
=
ASF_CountObject
(
p_hdr_ext
,
...
...
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