Browse Source

avfilter/af_biquads: clip gain picked from command to sane values

tags/n4.2
Paul B Mahol 6 years ago
parent
commit
034a9d2507
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/af_biquads.c

+ 1
- 1
libavfilter/af_biquads.c View File

@@ -538,7 +538,7 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar
return AVERROR(EINVAL);
}

s->gain = gain;
s->gain = av_clipd(gain, -900, 900);
} else if (!strcmp(cmd, "mix") || !strcmp(cmd, "m")) {
double mix;



Loading…
Cancel
Save