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
8443462e
Commit
8443462e
authored
Dec 26, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_afir: remove unused variable
parent
8dd9df9e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
af_afir.c
libavfilter/af_afir.c
+0
-1
af_afir.h
libavfilter/af_afir.h
+0
-3
No files found.
libavfilter/af_afir.c
View file @
8443462e
...
...
@@ -306,7 +306,6 @@ static int convert_coeffs(AVFilterContext *ctx)
s
->
block_size
=
FFALIGN
(
s
->
fft_length
,
32
);
s
->
coeff_size
=
FFALIGN
(
s
->
part_size
+
1
,
32
);
s
->
nb_partitions
=
(
s
->
nb_taps
+
s
->
part_size
-
1
)
/
s
->
part_size
;
s
->
nb_coeffs
=
s
->
ir_length
+
s
->
nb_partitions
;
for
(
ch
=
0
;
ch
<
ctx
->
inputs
[
0
]
->
channels
;
ch
++
)
{
s
->
sum
[
ch
]
=
av_calloc
(
s
->
fft_length
,
sizeof
(
**
s
->
sum
));
...
...
libavfilter/af_afir.h
View file @
8443462e
...
...
@@ -21,7 +21,6 @@
#ifndef AVFILTER_AFIR_H
#define AVFILTER_AFIR_H
#include "libavutil/audio_fifo.h"
#include "libavutil/common.h"
#include "libavutil/float_dsp.h"
#include "libavutil/opt.h"
...
...
@@ -53,7 +52,6 @@ typedef struct AudioFIRContext {
int
eof_coeffs
;
int
have_coeffs
;
int
nb_coeffs
;
int
nb_taps
;
int
part_size
;
int
part_index
;
...
...
@@ -72,7 +70,6 @@ typedef struct AudioFIRContext {
float
**
block
;
FFTComplex
**
coeff
;
AVAudioFifo
*
fifo
;
AVFrame
*
in
[
2
];
AVFrame
*
buffer
;
AVFrame
*
video
;
...
...
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