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
d7026003
Commit
d7026003
authored
Dec 26, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/af_afir: remove dead store variable
parent
8443462e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
af_afir.c
libavfilter/af_afir.c
+1
-2
af_afir.h
libavfilter/af_afir.h
+0
-1
No files found.
libavfilter/af_afir.c
View file @
d7026003
...
...
@@ -300,7 +300,6 @@ static int convert_coeffs(AVFilterContext *ctx)
for
(
n
=
av_log2
(
s
->
minp
);
(
1
<<
n
)
<
s
->
nb_taps
;
n
++
);
N
=
FFMIN
(
n
,
av_log2
(
s
->
maxp
));
s
->
ir_length
=
1
<<
n
;
s
->
fft_length
=
(
1
<<
(
N
+
1
))
+
1
;
s
->
part_size
=
1
<<
(
N
-
1
);
s
->
block_size
=
FFALIGN
(
s
->
fft_length
,
32
);
...
...
@@ -426,7 +425,7 @@ static int convert_coeffs(AVFilterContext *ctx)
av_log
(
ctx
,
AV_LOG_DEBUG
,
"nb_taps: %d
\n
"
,
s
->
nb_taps
);
av_log
(
ctx
,
AV_LOG_DEBUG
,
"nb_partitions: %d
\n
"
,
s
->
nb_partitions
);
av_log
(
ctx
,
AV_LOG_DEBUG
,
"partition size: %d
\n
"
,
s
->
part_size
);
av_log
(
ctx
,
AV_LOG_DEBUG
,
"
ir_length: %d
\n
"
,
s
->
ir
_length
);
av_log
(
ctx
,
AV_LOG_DEBUG
,
"
fft_length: %d
\n
"
,
s
->
fft
_length
);
s
->
have_coeffs
=
1
;
...
...
libavfilter/af_afir.h
View file @
d7026003
...
...
@@ -59,7 +59,6 @@ typedef struct AudioFIRContext {
int
block_size
;
int
nb_partitions
;
int
nb_channels
;
int
ir_length
;
int
fft_length
;
int
nb_coef_channels
;
int
one2many
;
...
...
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