avfilter/af_arnndn: Remove superfluous qualifier

remove_doubling() returned a const float, but returning qualified types
is pointless anyway. This is all the more important given that  GCC 4.2.1
(and maybe other compilers, too) seems to treat this as an error as several
FATE units that don't compile any more show.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
pull/323/head
Andreas Rheinhardt 5 years ago committed by Paul B Mahol
parent 9c820ebe90
commit 6aae322120
  1. 4
      libavfilter/af_arnndn.c

@ -782,8 +782,8 @@ static float compute_pitch_gain(float xy, float xx, float yy)
}
static const int second_check[16] = {0, 0, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 5, 2, 3, 2};
static const float remove_doubling(float *x, int maxperiod, int minperiod,
int N, int *T0_, int prev_period, float prev_gain)
static float remove_doubling(float *x, int maxperiod, int minperiod, int N,
int *T0_, int prev_period, float prev_gain)
{
int k, i, T, T0;
float g, g0;

Loading…
Cancel
Save