From 263b98bbbda2594c44e7bf5326433d18b132f7d6 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sun, 29 Nov 2020 22:08:35 +0100 Subject: avfilter/af_acrossover: always align nb_samples for fdsp call --- libavfilter/af_acrossover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_acrossover.c b/libavfilter/af_acrossover.c index c52fb9fec9..9b4e79a653 100644 --- a/libavfilter/af_acrossover.c +++ b/libavfilter/af_acrossover.c @@ -320,7 +320,7 @@ static int filter_channels_## name(AVFilterContext *ctx, void *arg, int jobnr, i CrossoverChannel *xover = &s->xover[ch]; \ \ s->fdsp->vector_## ff ##mul_scalar((type *)frames[0]->extended_data[ch], src, \ - s->level_in, nb_samples); \ + s->level_in, FFALIGN(nb_samples, sizeof(type))); \ emms_c(); \ \ for (int band = 0; band < ctx->nb_outputs; band++) { \ -- cgit v1.2.3