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

libavcodec/atrac3.c:296:13: 
294.             /* TODO: This can be done faster is several blocks share the
295.              * same VLC selector (subband_vlc_index) */
296.             read_quant_spectral_coeffs(bc, subband_vlc_index[i], coding_mode,
                 ^
297.                                        mantissas, subband_size);
298. 

static int decode_spectrum(BitstreamContext *bc, 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 = bitstream_read(bc, 5);
    coding_mode  = bitstream_read_bit(bc);
    for (i = 0; i <= num_subbands; i++)
        subband_vlc_index[i] = bitstream_read(bc, 3);
    for (i = 0; i <= num_subbands; i++) {
        if (subband_vlc_index[i] != 0)
            sf_index[i] = bitstream_read(bc, 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(bc, 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(BitstreamContext *bc, 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 = bitstream_read(bc, 5);\n    coding_mode  = bitstream_read_bit(bc);\n    for (i = 0; i <= num_subbands; i++)\n        subband_vlc_index[i] = bitstream_read(bc, 3);\n    for (i = 0; i <= num_subbands; i++) {\n        if (subband_vlc_index[i] != 0)\n            sf_index[i] = bitstream_read(bc, 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(bc, 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}']