Unified · Split
| @@ -538,7 +538,7 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar · 537 unmodified lines | ||
| 538 | 538 | return AVERROR(EINVAL); |
| 539 | 539 | } |
| 540 | 540 | |
| 541 | − s->gain = gain; | |
| 541 | + s->gain = av_clipd(gain, -900, 900); | |
| 542 | 542 | } else if (!strcmp(cmd, "mix") || !strcmp(cmd, "m")) { |
| 543 | 543 | double mix; |
| 544 | 544 | |