Stops doing unwanted fade-in at start.
Unified · Split
| @@ -536,7 +536,7 @@ static int config_input(AVFilterLink *inlink) · 535 unmodified lines | |||
| 536 | ChannelContext *cc = &s->cc[ch]; | 536 | ChannelContext *cc = &s->cc[ch]; |
| 537 | 537 | ||
| 538 | cc->state = -1; | 538 | cc->state = -1; |
| 539 | cc->gain_state = 1.; | 539 | cc->gain_state = s->max_expansion; |
| 540 | } | 540 | } |
| 541 | 541 | ||
| 542 | switch (inlink->format) { | 542 | switch (inlink->format) { |