diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-08-25 12:33:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-08-25 18:36:59 +0200 |
commit | e1ced854f2fb5ca1940928d20ef17b67d30815e8 (patch) | |
tree | 29f9d9fe5d6e239904b467376b79d03c30bfe7e0 | |
parent | feb2ea6e09bfe4048bfd2c3a59d3976f3d9e9835 (diff) | |
download | ffmpeg-e1ced854f2fb5ca1940928d20ef17b67d30815e8.tar.gz |
avfilter/af_acrusher: Rename sun/sov
The names are hard to understand and also seem to break build on at least some solaris
versions
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavfilter/af_acrusher.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavfilter/af_acrusher.c b/libavfilter/af_acrusher.c index 66d299d406..ddce74465d 100644 --- a/libavfilter/af_acrusher.c +++ b/libavfilter/af_acrusher.c @@ -304,7 +304,7 @@ static int config_input(AVFilterLink *inlink) { AVFilterContext *ctx = inlink->dst; ACrusherContext *s = ctx->priv; - double rad, sun, smax, sov; + double rad, sunder, smax, sover; s->idc = 1. / s->dc; s->coeff = exp2(s->bits) - 1; @@ -313,11 +313,11 @@ static int config_input(AVFilterLink *inlink) s->round = round(s->samples); rad = s->lforange / 2.; s->smin = FFMAX(s->samples - rad, 1.); - sun = s->samples - rad - s->smin; + sunder = s->samples - rad - s->smin; smax = FFMIN(s->samples + rad, 250.); - sov = s->samples + rad - smax; - smax -= sun; - s->smin -= sov; + sover = s->samples + rad - smax; + smax -= sunder; + s->smin -= sover; s->sdiff = smax - s->smin; s->lfo.freq = s->lforate; |