libavcodec/imc.c:176: error: Buffer Overrun L3
  Offset: [-1, +oo] Size: 32.

libavcodec/imc.c:173:9: <Offset trace>
171.     }
172. 
173.     for(i = 0; i < BANDS; i++) {
             ^
174.         for(cnt2 = i; cnt2 < cyclTab[i]; cnt2++)
175.             flcoeffs5[cnt2] = flcoeffs5[cnt2] + workT3[i];

libavcodec/imc.c:173:9: Assignment
171.     }
172. 
173.     for(i = 0; i < BANDS; i++) {
             ^
174.         for(cnt2 = i; cnt2 < cyclTab[i]; cnt2++)
175.             flcoeffs5[cnt2] = flcoeffs5[cnt2] + workT3[i];

libavcodec/imc.c:174:13: Assignment
172. 
173.     for(i = 0; i < BANDS; i++) {
174.         for(cnt2 = i; cnt2 < cyclTab[i]; cnt2++)
                 ^
175.             flcoeffs5[cnt2] = flcoeffs5[cnt2] + workT3[i];
176.         workT2[cnt2-1] = workT2[cnt2-1] + workT3[i];

libavcodec/imc.c:149:1: <Length trace>
147. }
148. 
149. static void imc_calculate_coeffs(IMCContext* q, float* flcoeffs1, float* flcoeffs2, int* bandWidthT,
     ^
150.                                 float* flcoeffs3, float* flcoeffs5)
151. {

libavcodec/imc.c:149:1: Array declaration
147. }
148. 
149. static void imc_calculate_coeffs(IMCContext* q, float* flcoeffs1, float* flcoeffs2, int* bandWidthT,
     ^
150.                                 float* flcoeffs3, float* flcoeffs5)
151. {

libavcodec/imc.c:176:9: Array access: Offset: [-1, +oo] Size: 32
174.         for(cnt2 = i; cnt2 < cyclTab[i]; cnt2++)
175.             flcoeffs5[cnt2] = flcoeffs5[cnt2] + workT3[i];
176.         workT2[cnt2-1] = workT2[cnt2-1] + workT3[i];
             ^
177.     }
178. 

static void imc_calculate_coeffs(IMCContext* q, float* flcoeffs1, float* flcoeffs2, int* bandWidthT,
                                float* flcoeffs3, float* flcoeffs5)
{
    float   workT1[BANDS];
    float   workT2[BANDS];
    float   workT3[BANDS];
    float   snr_limit = 1.e-30;
    float   accum = 0.0;
    int i, cnt2;
    for(i = 0; i < BANDS; i++) {
        flcoeffs5[i] = workT2[i] = 0.0;
        if (bandWidthT[i]){
            workT1[i] = flcoeffs1[i] * flcoeffs1[i];
            flcoeffs3[i] = 2.0 * flcoeffs2[i];
        } else {
            workT1[i] = 0.0;
            flcoeffs3[i] = -30000.0;
        }
        workT3[i] = bandWidthT[i] * workT1[i] * 0.01;
        if (workT3[i] <= snr_limit)
            workT3[i] = 0.0;
    }
    for(i = 0; i < BANDS; i++) {
        for(cnt2 = i; cnt2 < cyclTab[i]; cnt2++)
            flcoeffs5[cnt2] = flcoeffs5[cnt2] + workT3[i];
        workT2[cnt2-1] = workT2[cnt2-1] + workT3[i];
    }
    for(i = 1; i < BANDS; i++) {
        accum = (workT2[i-1] + accum) * imc_weights1[i-1];
        flcoeffs5[i] += accum;
    }
    for(i = 0; i < BANDS; i++)
        workT2[i] = 0.0;
    for(i = 0; i < BANDS; i++) {
        for(cnt2 = i-1; cnt2 > cyclTab2[i]; cnt2--)
            flcoeffs5[cnt2] += workT3[i];
        workT2[cnt2+1] += workT3[i];
    }
    accum = 0.0;
    for(i = BANDS-2; i >= 0; i--) {
        accum = (workT2[i+1] + accum) * imc_weights2[i];
        flcoeffs5[i] += accum;
    }
}
['static void imc_calculate_coeffs(IMCContext* q, float* flcoeffs1, float* flcoeffs2, int* bandWidthT,\n                                float* flcoeffs3, float* flcoeffs5)\n{\n    float   workT1[BANDS];\n    float   workT2[BANDS];\n    float   workT3[BANDS];\n    float   snr_limit = 1.e-30;\n    float   accum = 0.0;\n    int i, cnt2;\n    for(i = 0; i < BANDS; i++) {\n        flcoeffs5[i] = workT2[i] = 0.0;\n        if (bandWidthT[i]){\n            workT1[i] = flcoeffs1[i] * flcoeffs1[i];\n            flcoeffs3[i] = 2.0 * flcoeffs2[i];\n        } else {\n            workT1[i] = 0.0;\n            flcoeffs3[i] = -30000.0;\n        }\n        workT3[i] = bandWidthT[i] * workT1[i] * 0.01;\n        if (workT3[i] <= snr_limit)\n            workT3[i] = 0.0;\n    }\n    for(i = 0; i < BANDS; i++) {\n        for(cnt2 = i; cnt2 < cyclTab[i]; cnt2++)\n            flcoeffs5[cnt2] = flcoeffs5[cnt2] + workT3[i];\n        workT2[cnt2-1] = workT2[cnt2-1] + workT3[i];\n    }\n    for(i = 1; i < BANDS; i++) {\n        accum = (workT2[i-1] + accum) * imc_weights1[i-1];\n        flcoeffs5[i] += accum;\n    }\n    for(i = 0; i < BANDS; i++)\n        workT2[i] = 0.0;\n    for(i = 0; i < BANDS; i++) {\n        for(cnt2 = i-1; cnt2 > cyclTab2[i]; cnt2--)\n            flcoeffs5[cnt2] += workT3[i];\n        workT2[cnt2+1] += workT3[i];\n    }\n    accum = 0.0;\n    for(i = BANDS-2; i >= 0; i--) {\n        accum = (workT2[i+1] + accum) * imc_weights2[i];\n        flcoeffs5[i] += accum;\n    }\n}']