aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-12-11 00:13:45 +0100
committerPaul B Mahol <onemda@gmail.com>2015-12-11 00:13:45 +0100
commitdf2ce130a65cce7cc7b94d21b5d9b0d6014d1bcf (patch)
treef331c8ed14ab87d65e220960a27cd35c9007dc50
parentfdc94db37e89165964fdf34f1cd7632e44108bd0 (diff)
downloadffmpeg-df2ce130a65cce7cc7b94d21b5d9b0d6014d1bcf.tar.gz
avfilter/af_aemphasis: more declarations above
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavfilter/af_aemphasis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_aemphasis.c b/libavfilter/af_aemphasis.c
index 4501858fb8..2966f7721f 100644
--- a/libavfilter/af_aemphasis.c
+++ b/libavfilter/af_aemphasis.c
@@ -271,7 +271,6 @@ static int config_input(AVFilterLink *inlink)
//swap a1 b1, a2 b2
if (s->type == 7 || s->type == 8) {
- s->rc[0].use_brickw = 0;
double tau = (s->type == 7 ? 0.000050 : 0.000075);
double f = 1.0 / (2 * M_PI * tau);
double nyq = sr * 0.5;
@@ -287,6 +286,7 @@ static int config_input(AVFilterLink *inlink)
set_highshelf_rbj(&s->rc[0].r1, cfreq, q, 1. / gain, sr);
else
set_highshelf_rbj(&s->rc[0].r1, cfreq, q, gain, sr);
+ s->rc[0].use_brickw = 0;
} else {
s->rc[0].use_brickw = 1;
if (s->mode == 0) { // Reproduction