1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-14 22:22:59 +02:00

avfilter/af_afftdn: move i initialization to silence warning

This commit is contained in:
Paul B Mahol 2021-09-11 21:59:24 +02:00
parent b53f9c5e68
commit 533ddd61e5

View File

@ -1033,13 +1033,12 @@ static void set_noise_profile(AudioFFTDeNoiseContext *s,
double temp[15];
double sum = 0.0, d1;
float new_noise_floor;
int i, n;
int i = 0, n;
for (int m = 0; m < 15; m++)
temp[m] = sample_noise[m];
if (new_profile) {
i = 0;
for (int m = 0; m < 5; m++) {
sum = 0.0;
for (n = 0; n < 15; n++)