mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avfilter/af_biquads: clip gain picked from command to sane values
This commit is contained in:
parent
7b2d39fc27
commit
034a9d2507
@ -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…
Reference in New Issue
Block a user