Commit 034a9d25 authored by Paul B Mahol's avatar Paul B Mahol

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

parent 7b2d39fc
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment