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

pull/316/head
Paul B Mahol 6 years ago
parent 7b2d39fc27
commit 034a9d2507
  1. 2
      libavfilter/af_biquads.c

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