libavcodec/imc.c:163: error: Uninitialized Value
  The value read from freqmax[_] was never initialized.

libavcodec/imc.c:163:9: 
161. 
162.     for (i = 0; i < 32; i++) {
163.         freq = freqmax[i];
             ^
164.         for (j = 31; j > 0 && freq <= freqmid[j]; j--);
165.         q->cyclTab[i] = j + 1;

static av_cold void iac_generate_tabs(IMCContext *q, int sampling_rate)
{
    double freqmin[32], freqmid[32], freqmax[32];
    double scale = sampling_rate / (256.0 * 2.0 * 2.0);
    double nyquist_freq = sampling_rate * 0.5;
    double freq, bark, prev_bark = 0, tf, tb;
    int i, j;
    for (i = 0; i < 32; i++) {
        freq = (band_tab[i] + band_tab[i + 1] - 1) * scale;
        bark = freq2bark(freq);
        if (i > 0) {
            tb = bark - prev_bark;
            q->weights1[i - 1] = pow(10.0, -1.0 * tb);
            q->weights2[i - 1] = pow(10.0, -2.7 * tb);
        }
        prev_bark = bark;
        freqmid[i] = freq;
        tf = freq;
        while (tf < nyquist_freq) {
            tf += 0.5;
            tb =  freq2bark(tf);
            if (tb > bark + 0.5)
                break;
        }
        freqmax[i] = tf;
        tf = freq;
        while (tf > 0.0) {
            tf -= 0.5;
            tb =  freq2bark(tf);
            if (tb <= bark - 0.5)
                break;
        }
        freqmin[i] = tf;
    }
    for (i = 0; i < 32; i++) {
        freq = freqmax[i];
        for (j = 31; j > 0 && freq <= freqmid[j]; j--);
        q->cyclTab[i] = j + 1;
        freq = freqmin[i];
        for (j = 0; j < 32 && freq >= freqmid[j]; j++);
        q->cyclTab2[i] = j - 1;
    }
}
['static av_cold void iac_generate_tabs(IMCContext *q, int sampling_rate)\n{\n    double freqmin[32], freqmid[32], freqmax[32];\n    double scale = sampling_rate / (256.0 * 2.0 * 2.0);\n    double nyquist_freq = sampling_rate * 0.5;\n    double freq, bark, prev_bark = 0, tf, tb;\n    int i, j;\n    for (i = 0; i < 32; i++) {\n        freq = (band_tab[i] + band_tab[i + 1] - 1) * scale;\n        bark = freq2bark(freq);\n        if (i > 0) {\n            tb = bark - prev_bark;\n            q->weights1[i - 1] = pow(10.0, -1.0 * tb);\n            q->weights2[i - 1] = pow(10.0, -2.7 * tb);\n        }\n        prev_bark = bark;\n        freqmid[i] = freq;\n        tf = freq;\n        while (tf < nyquist_freq) {\n            tf += 0.5;\n            tb =  freq2bark(tf);\n            if (tb > bark + 0.5)\n                break;\n        }\n        freqmax[i] = tf;\n        tf = freq;\n        while (tf > 0.0) {\n            tf -= 0.5;\n            tb =  freq2bark(tf);\n            if (tb <= bark - 0.5)\n                break;\n        }\n        freqmin[i] = tf;\n    }\n    for (i = 0; i < 32; i++) {\n        freq = freqmax[i];\n        for (j = 31; j > 0 && freq <= freqmid[j]; j--);\n        q->cyclTab[i] = j + 1;\n        freq = freqmin[i];\n        for (j = 0; j < 32 && freq >= freqmid[j]; j++);\n        q->cyclTab2[i] = j - 1;\n    }\n}']