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
4c3dff6d
Commit
4c3dff6d
authored
Nov 05, 2002
by
Zdenek Kabelac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* free extradata
Originally committed as revision 1167 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
4fca59f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
asf.c
libav/asf.c
+7
-7
No files found.
libav/asf.c
View file @
4c3dff6d
...
...
@@ -942,13 +942,14 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
return
0
;
fail:
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
AVStream
*
st
=
s
->
streams
[
i
];
if
(
st
)
if
(
st
)
{
av_free
(
st
->
priv_data
);
av_free
(
st
->
codec
.
extradata
);
}
av_free
(
st
);
}
//av_free(asf);
return
-
1
;
}
...
...
@@ -1181,14 +1182,13 @@ static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
static
int
asf_read_close
(
AVFormatContext
*
s
)
{
//ASFContext *asf = s->priv_data;
int
i
;
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
{
AVStream
*
st
=
s
->
streams
[
i
];
av_free
(
st
->
priv_data
);
AVStream
*
st
=
s
->
streams
[
i
];
av_free
(
st
->
priv_data
);
av_free
(
st
->
codec
.
extradata
);
}
//av_free(asf);
return
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