]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/af_arnndn: reduce size of second_check[] table
authorPaul B Mahol <onemda@gmail.com>
Fri, 4 Sep 2020 15:39:18 +0000 (17:39 +0200)
committerPaul B Mahol <onemda@gmail.com>
Fri, 4 Sep 2020 16:02:52 +0000 (18:02 +0200)
libavfilter/af_arnndn.c

index a6e1215ac99d9bd537f7365ff38acdfc6edd01ac..ba25710c46250e12b187e25f83b0acf7873c4805 100644 (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)
 {