Browse Source

avfilter/af_acrossover: use fdsp for inverter

tags/n4.4
Paul B Mahol 4 years ago
parent
commit
6100a01a7a
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavfilter/af_acrossover.c

+ 3
- 3
libavfilter/af_acrossover.c View File

@@ -367,9 +367,9 @@ static int filter_channels_## name(AVFilterContext *ctx, void *arg, int jobnr, i
for (int band = 0; band < ctx->nb_outputs && s->first_order; band++) { \ for (int band = 0; band < ctx->nb_outputs && s->first_order; band++) { \
if (band & 1) { \ if (band & 1) { \
type *dst = (type *)frames[band]->extended_data[ch]; \ type *dst = (type *)frames[band]->extended_data[ch]; \
\
for (int n = 0; n < nb_samples; n++) \
dst[n] *= -one; \
s->fdsp->vector_## ff ##mul_scalar(dst, dst, -one, \
FFALIGN(nb_samples, sizeof(type))); \
emms_c(); \
} \ } \
} \ } \
} \ } \


Loading…
Cancel
Save