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
bf97d43a
Commit
bf97d43a
authored
Aug 17, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASF mux: reduce variable scope
parent
bad7a2dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
modules/mux/asf.c
modules/mux/asf.c
+2
-4
No files found.
modules/mux/asf.c
View file @
bf97d43a
...
...
@@ -255,7 +255,6 @@ static void Close( vlc_object_t * p_this )
sout_mux_t
*
p_mux
=
(
sout_mux_t
*
)
p_this
;
sout_mux_sys_t
*
p_sys
=
p_mux
->
p_sys
;
block_t
*
out
;
int
i
;
msg_Dbg
(
p_mux
,
"Asf muxer closed"
);
...
...
@@ -278,7 +277,7 @@ static void Close( vlc_object_t * p_this )
}
for
(
i
=
0
;
i
<
vlc_array_count
(
p_sys
->
p_tracks
);
i
++
)
for
(
i
nt
i
=
0
;
i
<
vlc_array_count
(
p_sys
->
p_tracks
);
i
++
)
{
asf_track_t
*
track
=
(
asf_track_t
*
)
vlc_array_item_at_index
(
p_sys
->
p_tracks
,
i
);
free
(
track
->
p_extra
);
...
...
@@ -817,11 +816,10 @@ static void bo_addle_str16_nosize( bo_t *bo, const char *str )
****************************************************************************/
static
void
bo_add_guid
(
bo_t
*
p_bo
,
const
guid_t
*
id
)
{
int
i
;
bo_addle_u32
(
p_bo
,
id
->
Data1
);
bo_addle_u16
(
p_bo
,
id
->
Data2
);
bo_addle_u16
(
p_bo
,
id
->
Data3
);
for
(
i
=
0
;
i
<
8
;
i
++
)
for
(
i
nt
i
=
0
;
i
<
8
;
i
++
)
{
bo_add_u8
(
p_bo
,
id
->
Data4
[
i
]
);
}
...
...
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