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
70df5111
Commit
70df5111
authored
Jan 14, 2016
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_dynaudnorm: fix possible null pointer dereference
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
62dfe1d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
af_dynaudnorm.c
libavfilter/af_dynaudnorm.c
+8
-4
No files found.
libavfilter/af_dynaudnorm.c
View file @
70df5111
...
...
@@ -173,7 +173,8 @@ static cqueue *cqueue_create(int size)
static
void
cqueue_free
(
cqueue
*
q
)
{
av_free
(
q
->
elements
);
if
(
q
)
av_free
(
q
->
elements
);
av_free
(
q
);
}
...
...
@@ -684,9 +685,12 @@ static av_cold void uninit(AVFilterContext *ctx)
av_freep
(
&
s
->
fade_factors
[
1
]);
for
(
c
=
0
;
c
<
s
->
channels
;
c
++
)
{
cqueue_free
(
s
->
gain_history_original
[
c
]);
cqueue_free
(
s
->
gain_history_minimum
[
c
]);
cqueue_free
(
s
->
gain_history_smoothed
[
c
]);
if
(
s
->
gain_history_original
)
cqueue_free
(
s
->
gain_history_original
[
c
]);
if
(
s
->
gain_history_minimum
)
cqueue_free
(
s
->
gain_history_minimum
[
c
]);
if
(
s
->
gain_history_smoothed
)
cqueue_free
(
s
->
gain_history_smoothed
[
c
]);
}
av_freep
(
&
s
->
gain_history_original
);
...
...
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