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
2dc22a64
Commit
2dc22a64
authored
Mar 10, 2010
by
Vitor Sessak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix memory leak in FFM demuxer
Originally committed as revision 22431 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9a894c48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
ffmdec.c
libavformat/ffmdec.c
+9
-1
No files found.
libavformat/ffmdec.c
View file @
2dc22a64
...
...
@@ -512,6 +512,14 @@ static int ffm_probe(AVProbeData *p)
return
0
;
}
static
void
ffm_close
(
AVFormatContext
*
s
)
{
int
i
;
for
(
i
=
0
;
i
<
s
->
nb_streams
;
i
++
)
av_freep
(
&
s
->
streams
[
i
]
->
codec
->
rc_eq
);
}
AVInputFormat
ffm_demuxer
=
{
"ffm"
,
NULL_IF_CONFIG_SMALL
(
"FFM (FFserver live feed) format"
),
...
...
@@ -519,6 +527,6 @@ AVInputFormat ffm_demuxer = {
ffm_probe
,
ffm_read_header
,
ffm_read_packet
,
NULL
,
ffm_close
,
ffm_seek
,
};
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