diff --git a/libavfilter/af_arnndn.c b/libavfilter/af_arnndn.c index 7688b31b0c..7a26f89709 100644 --- a/libavfilter/af_arnndn.c +++ b/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;