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
d8249289
Commit
d8249289
authored
Oct 06, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mp4 mux: remove unused p_sout parameter
parent
6fb39e98
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
modules/mux/mp4.c
modules/mux/mp4.c
+5
-6
No files found.
modules/mux/mp4.c
View file @
d8249289
...
...
@@ -165,7 +165,7 @@ static void box_gather ( bo_t *box, bo_t *box2 );
static
void
box_send
(
sout_mux_t
*
p_mux
,
bo_t
*
box
);
static
block_t
*
bo_to_sout
(
sout_instance_t
*
p_sout
,
bo_t
*
box
);
static
block_t
*
bo_to_sout
(
bo_t
*
box
);
static
bo_t
*
GetMoovBox
(
sout_mux_t
*
p_mux
);
...
...
@@ -266,7 +266,7 @@ static void Close( vlc_object_t * p_this )
bo_add_32be
(
&
bo
,
p_sys
->
i_pos
-
p_sys
->
i_mdat_pos
-
8
);
bo_add_fourcc
(
&
bo
,
"mdat"
);
}
p_hdr
=
bo_to_sout
(
p_mux
->
p_sout
,
&
bo
);
p_hdr
=
bo_to_sout
(
&
bo
);
free
(
bo
.
p_buffer
);
sout_AccessOutSeek
(
p_mux
->
p_access
,
p_sys
->
i_mdat_pos
);
...
...
@@ -2039,12 +2039,11 @@ static void box_gather ( bo_t *box, bo_t *box2 )
box_free
(
box2
);
}
static
block_t
*
bo_to_sout
(
sout_instance_t
*
p_sout
,
bo_t
*
box
)
static
block_t
*
bo_to_sout
(
bo_t
*
box
)
{
(
void
)
p_sout
;
block_t
*
p_buf
;
p_buf
=
block_
New
(
p_sout
,
box
->
i_buffer
);
p_buf
=
block_
Alloc
(
box
->
i_buffer
);
if
(
box
->
i_buffer
>
0
)
{
memcpy
(
p_buf
->
p_buffer
,
box
->
p_buffer
,
box
->
i_buffer
);
...
...
@@ -2057,7 +2056,7 @@ static void box_send( sout_mux_t *p_mux, bo_t *box )
{
block_t
*
p_buf
;
p_buf
=
bo_to_sout
(
p_mux
->
p_sout
,
box
);
p_buf
=
bo_to_sout
(
box
);
box_free
(
box
);
sout_AccessOutWrite
(
p_mux
->
p_access
,
p_buf
);
...
...
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