libavcodec/atrac3.c:452: error: Uninitialized Value
  The value read from band_flags[_] was never initialized.

libavcodec/atrac3.c:452:17: 
450. 
451.         for (j = 0; j < (numBands + 1) * 4; j++) {
452.             if (band_flags[j >> 2] == 0)
                     ^
453.                 continue;
454. 

static int decodeTonalComponents (GetBitContext *gb, tonal_component *pComponent, int numBands)
{
    int i,j,k,cnt;
    int   components, coding_mode_selector, coding_mode, coded_values_per_component;
    int   sfIndx, coded_values, max_coded_values, quant_step_index, coded_components;
    int   band_flags[4], mantissa[8];
    float  *pCoef;
    float  scalefactor;
    int   component_count = 0;
    components = get_bits(gb,5);
    if (components == 0)
        return 0;
    coding_mode_selector = get_bits(gb,2);
    if (coding_mode_selector == 2)
        return -1;
    coding_mode = coding_mode_selector & 1;
    for (i = 0; i < components; i++) {
        for (cnt = 0; cnt <= numBands; cnt++)
            band_flags[cnt] = get_bits1(gb);
        coded_values_per_component = get_bits(gb,3);
        quant_step_index = get_bits(gb,3);
        if (quant_step_index <= 1)
            return -1;
        if (coding_mode_selector == 3)
            coding_mode = get_bits1(gb);
        for (j = 0; j < (numBands + 1) * 4; j++) {
            if (band_flags[j >> 2] == 0)
                continue;
            coded_components = get_bits(gb,3);
            for (k=0; k<coded_components; k++) {
                sfIndx = get_bits(gb,6);
                pComponent[component_count].pos = j * 64 + (get_bits(gb,6));
                max_coded_values = 1024 - pComponent[component_count].pos;
                coded_values = coded_values_per_component + 1;
                coded_values = FFMIN(max_coded_values,coded_values);
                scalefactor = SFTable[sfIndx] * iMaxQuant[quant_step_index];
                readQuantSpectralCoeffs(gb, quant_step_index, coding_mode, mantissa, coded_values);
                pComponent[component_count].numCoefs = coded_values;
                pCoef = pComponent[k].coef;
                for (cnt = 0; cnt < coded_values; cnt++)
                    pCoef[cnt] = mantissa[cnt] * scalefactor;
                component_count++;
            }
        }
    }
    return component_count;
}
['static int decodeTonalComponents (GetBitContext *gb, tonal_component *pComponent, int numBands)\n{\n    int i,j,k,cnt;\n    int   components, coding_mode_selector, coding_mode, coded_values_per_component;\n    int   sfIndx, coded_values, max_coded_values, quant_step_index, coded_components;\n    int   band_flags[4], mantissa[8];\n    float  *pCoef;\n    float  scalefactor;\n    int   component_count = 0;\n    components = get_bits(gb,5);\n    if (components == 0)\n        return 0;\n    coding_mode_selector = get_bits(gb,2);\n    if (coding_mode_selector == 2)\n        return -1;\n    coding_mode = coding_mode_selector & 1;\n    for (i = 0; i < components; i++) {\n        for (cnt = 0; cnt <= numBands; cnt++)\n            band_flags[cnt] = get_bits1(gb);\n        coded_values_per_component = get_bits(gb,3);\n        quant_step_index = get_bits(gb,3);\n        if (quant_step_index <= 1)\n            return -1;\n        if (coding_mode_selector == 3)\n            coding_mode = get_bits1(gb);\n        for (j = 0; j < (numBands + 1) * 4; j++) {\n            if (band_flags[j >> 2] == 0)\n                continue;\n            coded_components = get_bits(gb,3);\n            for (k=0; k<coded_components; k++) {\n                sfIndx = get_bits(gb,6);\n                pComponent[component_count].pos = j * 64 + (get_bits(gb,6));\n                max_coded_values = 1024 - pComponent[component_count].pos;\n                coded_values = coded_values_per_component + 1;\n                coded_values = FFMIN(max_coded_values,coded_values);\n                scalefactor = SFTable[sfIndx] * iMaxQuant[quant_step_index];\n                readQuantSpectralCoeffs(gb, quant_step_index, coding_mode, mantissa, coded_values);\n                pComponent[component_count].numCoefs = coded_values;\n                pCoef = pComponent[k].coef;\n                for (cnt = 0; cnt < coded_values; cnt++)\n                    pCoef[cnt] = mantissa[cnt] * scalefactor;\n                component_count++;\n            }\n        }\n    }\n    return component_count;\n}']