Commit 6aae3221 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt Committed by Paul B Mahol

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: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
parent 9c820ebe
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment