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

libavcodec/atrac3.c:287:13: 
285.     /* read the scale factor indexes from the stream */
286.     for (i = 0; i <= num_subbands; i++) {
287.         if (subband_vlc_index[i] != 0)
                 ^
288.             sf_index[i] = get_bits(gb, 6);
289.     }

static int decode_spectrum(GetBitContext *gb, float *output)
{
    int num_subbands, coding_mode, i, j, first, last, subband_size;
    int subband_vlc_index[32], sf_index[32];
    int mantissas[128];
    float scale_factor;
    num_subbands = get_bits(gb, 5);
    coding_mode  = get_bits1(gb);
    for (i = 0; i <= num_subbands; i++)
        subband_vlc_index[i] = get_bits(gb, 3);
    for (i = 0; i <= num_subbands; i++) {
        if (subband_vlc_index[i] != 0)
            sf_index[i] = get_bits(gb, 6);
    }
    for (i = 0; i <= num_subbands; i++) {
        first = subband_tab[i    ];
        last  = subband_tab[i + 1];
        subband_size = last - first;
        if (subband_vlc_index[i] != 0) {
            read_quant_spectral_coeffs(gb, subband_vlc_index[i], coding_mode,
                                       mantissas, subband_size);
            scale_factor = ff_atrac_sf_table[sf_index[i]] *
                           inv_max_quant[subband_vlc_index[i]];
            for (j = 0; first < last; first++, j++)
                output[first] = mantissas[j] * scale_factor;
        } else {
            memset(output + first, 0, subband_size * sizeof(*output));
        }
    }
    first = subband_tab[i];
    memset(output + first, 0, (SAMPLES_PER_FRAME - first) * sizeof(*output));
    return num_subbands;
}
['static int decode_spectrum(GetBitContext *gb, float *output)\n{\n    int num_subbands, coding_mode, i, j, first, last, subband_size;\n    int subband_vlc_index[32], sf_index[32];\n    int mantissas[128];\n    float scale_factor;\n    num_subbands = get_bits(gb, 5);\n    coding_mode  = get_bits1(gb);\n    for (i = 0; i <= num_subbands; i++)\n        subband_vlc_index[i] = get_bits(gb, 3);\n    for (i = 0; i <= num_subbands; i++) {\n        if (subband_vlc_index[i] != 0)\n            sf_index[i] = get_bits(gb, 6);\n    }\n    for (i = 0; i <= num_subbands; i++) {\n        first = subband_tab[i    ];\n        last  = subband_tab[i + 1];\n        subband_size = last - first;\n        if (subband_vlc_index[i] != 0) {\n            read_quant_spectral_coeffs(gb, subband_vlc_index[i], coding_mode,\n                                       mantissas, subband_size);\n            scale_factor = ff_atrac_sf_table[sf_index[i]] *\n                           inv_max_quant[subband_vlc_index[i]];\n            for (j = 0; first < last; first++, j++)\n                output[first] = mantissas[j] * scale_factor;\n        } else {\n            memset(output + first, 0, subband_size * sizeof(*output));\n        }\n    }\n    first = subband_tab[i];\n    memset(output + first, 0, (SAMPLES_PER_FRAME - first) * sizeof(*output));\n    return num_subbands;\n}']