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