[FFmpeg-cvslog] avfilter/af_arnndn: reduce size of second_check[] table

Paul B Mahol git at videolan.org
Fri Sep 4 19:03:51 EEST 2020


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Sep  4 17:39:18 2020 +0200| [939f4b35b838b2295d494ff76bfb1c870f98945d] | committer: Paul B Mahol

avfilter/af_arnndn: reduce size of second_check[] table

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=939f4b35b838b2295d494ff76bfb1c870f98945d
---

 libavfilter/af_arnndn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/af_arnndn.c b/libavfilter/af_arnndn.c
index a6e1215ac9..ba25710c46 100644
--- a/libavfilter/af_arnndn.c
+++ b/libavfilter/af_arnndn.c
@@ -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)
 {



More information about the ffmpeg-cvslog mailing list