Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- libavfilter/af_stereowiden.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/af_stereowiden.c b/libavfilter/af_stereowiden.c index f7a6a91ae40..1273c77116e 100644 --- a/libavfilter/af_stereowiden.c +++ b/libavfilter/af_stereowiden.c @@ -72,7 +72,7 @@ static int config_input(AVFilterLink *inlink) AVFilterContext *ctx = inlink->dst; StereoWidenContext *s = ctx->priv; - s->length = s->delay * inlink->sample_rate / 1000; + s->length = lrintf(s->delay * inlink->sample_rate / 1000); s->length *= 2; if (s->length == 0) return AVERROR(EINVAL); -- 2.17.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".