avfilter/af_arnndn: reduce size of second_check[] table

This commit is contained in:
Paul B Mahol 2020-09-04 17:39:18 +02:00
parent ef91d18a04
commit 939f4b35b8

View File

@ -780,7 +780,7 @@ static float compute_pitch_gain(float xy, float xx, float yy)
return xy / sqrtf(1.f + xx * 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 uint8_t second_check[16] = {0, 0, 3, 2, 3, 2, 5, 2, 3, 2, 3, 2, 5, 2, 3, 2};
static float remove_doubling(float *x, int maxperiod, int minperiod, int N,
int *T0_, int prev_period, float prev_gain)
{