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
71da1bfb
Commit
71da1bfb
authored
Feb 19, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MMS: minor locality improvements
parent
dd3d1962
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
modules/access/mms/asf.c
modules/access/mms/asf.c
+4
-6
No files found.
modules/access/mms/asf.c
View file @
71da1bfb
...
...
@@ -60,12 +60,11 @@ void asf_HeaderParse ( asf_header_t *hdr,
var_buffer_t
buffer
;
guid_t
guid
;
uint64_t
i_size
;
int
i
;
hdr
->
i_file_size
=
0
;
hdr
->
i_data_packets_count
=
0
;
hdr
->
i_min_data_packet_size
=
0
;
for
(
i
=
0
;
i
<
128
;
i
++
)
for
(
unsigned
i
=
0
;
i
<
128
;
i
++
)
{
hdr
->
stream
[
i
].
i_cat
=
ASF_STREAM_UNKNOWN
;
hdr
->
stream
[
i
].
i_selected
=
0
;
...
...
@@ -107,7 +106,6 @@ void asf_HeaderParse ( asf_header_t *hdr,
/* Grrrrrr */
int16_t
i_count1
,
i_count2
;
int
i_subsize
;
int
i
;
var_buffer_getmemory
(
&
buffer
,
NULL
,
84
-
24
);
...
...
@@ -115,7 +113,7 @@ void asf_HeaderParse ( asf_header_t *hdr,
i_count2
=
var_buffer_get16
(
&
buffer
);
i_subsize
=
88
;
for
(
i
=
0
;
i
<
i_count1
;
i
++
)
for
(
i
nt
i
=
0
;
i
<
i_count1
;
i
++
)
{
int
i_len
;
...
...
@@ -126,7 +124,7 @@ void asf_HeaderParse ( asf_header_t *hdr,
i_subsize
+=
4
+
i_len
;
}
for
(
i
=
0
;
i
<
i_count2
;
i
++
)
for
(
i
nt
i
=
0
;
i
<
i_count2
;
i
++
)
{
int
i_len
;
var_buffer_getmemory
(
&
buffer
,
NULL
,
16
+
2
);
...
...
@@ -199,7 +197,7 @@ void asf_StreamSelect ( asf_header_t *hdr,
bool
b_all
,
bool
b_audio
,
bool
b_video
)
{
/* XXX FIXME use mututal eclusion information */
int
i
;
unsigned
i
;
int
i_audio
,
i_video
;
int
i_bitrate_total
;
#if 0
...
...
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