]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/af_acrossover: remove unneeded emms_c() calls
authorPaul B Mahol <onemda@gmail.com>
Mon, 30 Nov 2020 13:50:34 +0000 (14:50 +0100)
committerPaul B Mahol <onemda@gmail.com>
Mon, 30 Nov 2020 13:53:14 +0000 (14:53 +0100)
libavfilter/af_acrossover.c

index 6150af79330b98145ea59e3cdc43e070296796b7..74b60035d4c25dce5c2884a55f315092962aa029 100644 (file)
@@ -339,7 +339,6 @@ static int filter_channels_## name(AVFilterContext *ctx, void *arg, int jobnr, i
                                                                                             \
         s->fdsp->vector_## ff ##mul_scalar((type *)frames[0]->extended_data[ch], src,       \
                                     s->level_in, FFALIGN(nb_samples, sizeof(type)));        \
-        emms_c();                                                                           \
                                                                                             \
         for (int band = 0; band < ctx->nb_outputs; band++) {                                \
             for (int f = 0; band + 1 < ctx->nb_outputs && f < s->filter_count; f++) {       \
@@ -387,7 +386,6 @@ static int filter_channels_## name(AVFilterContext *ctx, void *arg, int jobnr, i
                 type *dst = (type *)frames[band]->extended_data[ch];                        \
                 s->fdsp->vector_## ff ##mul_scalar(dst, dst, -one,                          \
                                                    FFALIGN(nb_samples, sizeof(type)));      \
-                emms_c();                                                                   \
             }                                                                               \
         }                                                                                   \
     }                                                                                       \