[FFmpeg-cvslog] avfilter/af_acrossover: always align nb_samples for fdsp call

Paul B Mahol git at videolan.org
Sun Nov 29 23:11:47 EET 2020


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Nov 29 22:08:35 2020 +0100| [263b98bbbda2594c44e7bf5326433d18b132f7d6] | committer: Paul B Mahol

avfilter/af_acrossover: always align nb_samples for fdsp call

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=263b98bbbda2594c44e7bf5326433d18b132f7d6
---

 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++) {                                \



More information about the ffmpeg-cvslog mailing list