Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
99f7f414
Commit
99f7f414
authored
Mar 03, 2022
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/asrc_sinc: check allocation return value
parent
f4d12334
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
asrc_sinc.c
libavfilter/asrc_sinc.c
+3
-0
No files found.
libavfilter/asrc_sinc.c
View file @
99f7f414
...
...
@@ -113,6 +113,9 @@ static float *make_lpf(int num_taps, float Fc, float beta, float rho,
float
*
h
=
av_calloc
(
num_taps
,
sizeof
(
*
h
)),
sum
=
0
;
float
mult
=
scale
/
bessel_I_0
(
beta
),
mult1
=
1
.
f
/
(.
5
f
*
m
+
rho
);
if
(
!
h
)
return
NULL
;
av_assert0
(
Fc
>=
0
&&
Fc
<=
1
);
for
(
i
=
0
;
i
<=
m
/
2
;
i
++
)
{
...
...
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