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
b09ea25f
Commit
b09ea25f
authored
Aug 21, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_lenscorrection: fix memleak
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f5ddce07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
vf_lenscorrection.c
libavfilter/vf_lenscorrection.c
+11
-0
No files found.
libavfilter/vf_lenscorrection.c
View file @
b09ea25f
...
@@ -111,6 +111,16 @@ static int query_formats(AVFilterContext *ctx)
...
@@ -111,6 +111,16 @@ static int query_formats(AVFilterContext *ctx)
return
0
;
return
0
;
}
}
static
av_cold
void
uninit
(
AVFilterContext
*
ctx
)
{
LenscorrectionCtx
*
rect
=
ctx
->
priv
;
int
i
;
for
(
i
=
0
;
i
<
FF_ARRAY_ELEMS
(
rect
->
correction
);
i
++
)
{
av_freep
(
&
rect
->
correction
[
i
]);
}
}
static
int
config_props
(
AVFilterLink
*
outlink
)
static
int
config_props
(
AVFilterLink
*
outlink
)
{
{
AVFilterContext
*
ctx
=
outlink
->
src
;
AVFilterContext
*
ctx
=
outlink
->
src
;
...
@@ -214,5 +224,6 @@ AVFilter ff_vf_lenscorrection = {
...
@@ -214,5 +224,6 @@ AVFilter ff_vf_lenscorrection = {
.
inputs
=
lenscorrection_inputs
,
.
inputs
=
lenscorrection_inputs
,
.
outputs
=
lenscorrection_outputs
,
.
outputs
=
lenscorrection_outputs
,
.
priv_class
=
&
lenscorrection_class
,
.
priv_class
=
&
lenscorrection_class
,
.
uninit
=
uninit
,
.
flags
=
AVFILTER_FLAG_SLICE_THREADS
,
.
flags
=
AVFILTER_FLAG_SLICE_THREADS
,
};
};
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