summaryrefslogtreecommitdiff
path: root/libavfilter/af_acrossover.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/af_acrossover.c')
-rw-r--r--libavfilter/af_acrossover.c2
1 files changed, 1 insertions, 1 deletions
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++) { \