Browse Source

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>
tags/n3.2
Michael Niedermayer 8 years ago
parent
commit
e1ced854f2
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      libavfilter/af_acrusher.c

+ 5
- 5
libavfilter/af_acrusher.c View File

@@ -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;


Loading…
Cancel
Save