diff --git a/libavfilter/af_speechnorm.c b/libavfilter/af_speechnorm.c index cc0c08feef..4f56ad9a8f 100644 --- a/libavfilter/af_speechnorm.c +++ b/libavfilter/af_speechnorm.c @@ -536,7 +536,7 @@ static int config_input(AVFilterLink *inlink) ChannelContext *cc = &s->cc[ch]; cc->state = -1; - cc->gain_state = 1.; + cc->gain_state = s->max_expansion; } switch (inlink->format) {