Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
4440b118
Commit
4440b118
authored
May 12, 2007
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify, no need for a function
Originally committed as revision 9008 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
54a5c719
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
mov.c
libavformat/mov.c
+4
-10
No files found.
libavformat/mov.c
View file @
4440b118
...
...
@@ -1207,14 +1207,6 @@ static const MOVParseTableEntry mov_default_parse_table[] = {
{
0L
,
NULL
}
};
static
void
mov_free_stream_context
(
MOVStreamContext
*
sc
)
{
if
(
sc
)
{
av_freep
(
&
sc
->
ctts_data
);
av_freep
(
&
sc
);
}
}
/* XXX: is it sufficient ? */
static
int
mov_probe
(
AVProbeData
*
p
)
{
...
...
@@ -1570,8 +1562,10 @@ static int mov_read_close(AVFormatContext *s)
{
int
i
;
MOVContext
*
mov
=
s
->
priv_data
;
for
(
i
=
0
;
i
<
mov
->
total_streams
;
i
++
)
mov_free_stream_context
(
mov
->
streams
[
i
]);
for
(
i
=
0
;
i
<
mov
->
total_streams
;
i
++
)
{
av_freep
(
&
mov
->
streams
[
i
]
->
ctts_data
);
av_freep
(
&
mov
->
streams
[
i
]);
}
if
(
mov
->
dv_demux
){
for
(
i
=
0
;
i
<
mov
->
dv_fctx
->
nb_streams
;
i
++
){
av_freep
(
&
mov
->
dv_fctx
->
streams
[
i
]
->
codec
);
...
...
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