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

libavcodec/atrac3.c:374:13: 
372.     /* Read the scale factor indexes from the stream. */
373.     for (cnt = 0; cnt <= numSubbands; cnt++) {
374.         if (subband_vlc_index[cnt] != 0)
                 ^
375.             SF_idxs[cnt] = get_bits(gb, 6);
376.     }

static int decodeSpectrum (GetBitContext *gb, float *pOut)
{
    int   numSubbands, codingMode, cnt, first, last, subbWidth, *pIn;
    int   subband_vlc_index[32], SF_idxs[32];
    int   mantissas[128];
    float SF;
    numSubbands = get_bits(gb, 5);
    codingMode = get_bits1(gb);
    for (cnt = 0; cnt <= numSubbands; cnt++)
        subband_vlc_index[cnt] = get_bits(gb, 3);
    for (cnt = 0; cnt <= numSubbands; cnt++) {
        if (subband_vlc_index[cnt] != 0)
            SF_idxs[cnt] = get_bits(gb, 6);
    }
    for (cnt = 0; cnt <= numSubbands; cnt++) {
        first = subbandTab[cnt];
        last = subbandTab[cnt+1];
        subbWidth = last - first;
        if (subband_vlc_index[cnt] != 0) {
            readQuantSpectralCoeffs (gb, subband_vlc_index[cnt], codingMode, mantissas, subbWidth);
            SF = SFTable[SF_idxs[cnt]] * iMaxQuant[subband_vlc_index[cnt]];
            for (pIn=mantissas ; first<last; first++, pIn++)
                pOut[first] = *pIn * SF;
        } else {
            memset(pOut+first, 0, subbWidth*sizeof(float));
        }
    }
    first = subbandTab[cnt];
    memset(pOut+first, 0, (1024 - first) * sizeof(float));
    return numSubbands;
}
['static int decodeSpectrum (GetBitContext *gb, float *pOut)\n{\n    int   numSubbands, codingMode, cnt, first, last, subbWidth, *pIn;\n    int   subband_vlc_index[32], SF_idxs[32];\n    int   mantissas[128];\n    float SF;\n    numSubbands = get_bits(gb, 5);\n    codingMode = get_bits1(gb);\n    for (cnt = 0; cnt <= numSubbands; cnt++)\n        subband_vlc_index[cnt] = get_bits(gb, 3);\n    for (cnt = 0; cnt <= numSubbands; cnt++) {\n        if (subband_vlc_index[cnt] != 0)\n            SF_idxs[cnt] = get_bits(gb, 6);\n    }\n    for (cnt = 0; cnt <= numSubbands; cnt++) {\n        first = subbandTab[cnt];\n        last = subbandTab[cnt+1];\n        subbWidth = last - first;\n        if (subband_vlc_index[cnt] != 0) {\n            readQuantSpectralCoeffs (gb, subband_vlc_index[cnt], codingMode, mantissas, subbWidth);\n            SF = SFTable[SF_idxs[cnt]] * iMaxQuant[subband_vlc_index[cnt]];\n            for (pIn=mantissas ; first<last; first++, pIn++)\n                pOut[first] = *pIn * SF;\n        } else {\n            memset(pOut+first, 0, subbWidth*sizeof(float));\n        }\n    }\n    first = subbandTab[cnt];\n    memset(pOut+first, 0, (1024 - first) * sizeof(float));\n    return numSubbands;\n}']