libavcodec/twinvq.c:1024: error: Uninitialized Value
  The value read from bse_bits[_] was never initialized.

libavcodec/twinvq.c:1024:5: 
1022.             (mtab->fmode[i].bark_n_coef * mtab->fmode[i].bark_n_bit + 1);
1023. 
1024.     bsize_no_main_cb[2] = bse_bits[2] + lsp_bits_per_block + ppc_bits +
          ^
1025.                           WINDOW_TYPE_BITS + n_ch*GAIN_BITS;
1026. 

static av_cold void init_bitstream_params(TwinContext *tctx)
{
    const ModeTab *mtab = tctx->mtab;
    int n_ch = tctx->avctx->channels;
    int total_fr_bits = tctx->avctx->bit_rate*mtab->size/
                             tctx->avctx->sample_rate;
    int lsp_bits_per_block = n_ch*(mtab->lsp_bit0 + mtab->lsp_bit1 +
                                   mtab->lsp_split*mtab->lsp_bit2);
    int ppc_bits = n_ch*(mtab->pgain_bit + mtab->ppc_shape_bit +
                         mtab->ppc_period_bit);
    int bsize_no_main_cb[3];
    int bse_bits[3];
    int i;
    for (i=0; i < 3; i++)
        bse_bits[i] = n_ch *
            (mtab->fmode[i].bark_n_coef * mtab->fmode[i].bark_n_bit + 1);
    bsize_no_main_cb[2] = bse_bits[2] + lsp_bits_per_block + ppc_bits +
                          WINDOW_TYPE_BITS + n_ch*GAIN_BITS;
    for (i=0; i < 2; i++)
        bsize_no_main_cb[i] =
            lsp_bits_per_block + n_ch*GAIN_BITS + WINDOW_TYPE_BITS +
            mtab->fmode[i].sub*(bse_bits[i] + n_ch*SUB_GAIN_BITS);
    for (i=0; i < 4; i++) {
        int bit_size;
        int vect_size;
        int rounded_up, rounded_down, num_rounded_down, num_rounded_up;
        if (i == 3) {
            bit_size  = n_ch * mtab->ppc_shape_bit;
            vect_size = n_ch * mtab->ppc_shape_len;
        } else {
            bit_size = total_fr_bits - bsize_no_main_cb[i];
            vect_size = n_ch * mtab->size;
        }
        tctx->n_div[i] = (bit_size + 13) / 14;
        rounded_up   = (bit_size + tctx->n_div[i] - 1)/tctx->n_div[i];
        rounded_down = (bit_size           )/tctx->n_div[i];
        num_rounded_down = rounded_up * tctx->n_div[i] - bit_size;
        num_rounded_up = tctx->n_div[i] - num_rounded_down;
        tctx->bits_main_spec[0][i][0] = (rounded_up   + 1)/2;
        tctx->bits_main_spec[1][i][0] = (rounded_up      )/2;
        tctx->bits_main_spec[0][i][1] = (rounded_down + 1)/2;
        tctx->bits_main_spec[1][i][1] = (rounded_down    )/2;
        tctx->bits_main_spec_change[i] = num_rounded_up;
        rounded_up   = (vect_size + tctx->n_div[i] - 1)/tctx->n_div[i];
        rounded_down = (vect_size                     )/tctx->n_div[i];
        num_rounded_down = rounded_up * tctx->n_div[i] - vect_size;
        num_rounded_up = tctx->n_div[i] - num_rounded_down;
        tctx->length[i][0] = rounded_up;
        tctx->length[i][1] = rounded_down;
        tctx->length_change[i] = num_rounded_up;
    }
    for (i=0; i < 4; i++)
        construct_perm_table(tctx, i);
}
['static av_cold void init_bitstream_params(TwinContext *tctx)\n{\n    const ModeTab *mtab = tctx->mtab;\n    int n_ch = tctx->avctx->channels;\n    int total_fr_bits = tctx->avctx->bit_rate*mtab->size/\n                             tctx->avctx->sample_rate;\n    int lsp_bits_per_block = n_ch*(mtab->lsp_bit0 + mtab->lsp_bit1 +\n                                   mtab->lsp_split*mtab->lsp_bit2);\n    int ppc_bits = n_ch*(mtab->pgain_bit + mtab->ppc_shape_bit +\n                         mtab->ppc_period_bit);\n    int bsize_no_main_cb[3];\n    int bse_bits[3];\n    int i;\n    for (i=0; i < 3; i++)\n        bse_bits[i] = n_ch *\n            (mtab->fmode[i].bark_n_coef * mtab->fmode[i].bark_n_bit + 1);\n    bsize_no_main_cb[2] = bse_bits[2] + lsp_bits_per_block + ppc_bits +\n                          WINDOW_TYPE_BITS + n_ch*GAIN_BITS;\n    for (i=0; i < 2; i++)\n        bsize_no_main_cb[i] =\n            lsp_bits_per_block + n_ch*GAIN_BITS + WINDOW_TYPE_BITS +\n            mtab->fmode[i].sub*(bse_bits[i] + n_ch*SUB_GAIN_BITS);\n    for (i=0; i < 4; i++) {\n        int bit_size;\n        int vect_size;\n        int rounded_up, rounded_down, num_rounded_down, num_rounded_up;\n        if (i == 3) {\n            bit_size  = n_ch * mtab->ppc_shape_bit;\n            vect_size = n_ch * mtab->ppc_shape_len;\n        } else {\n            bit_size = total_fr_bits - bsize_no_main_cb[i];\n            vect_size = n_ch * mtab->size;\n        }\n        tctx->n_div[i] = (bit_size + 13) / 14;\n        rounded_up   = (bit_size + tctx->n_div[i] - 1)/tctx->n_div[i];\n        rounded_down = (bit_size           )/tctx->n_div[i];\n        num_rounded_down = rounded_up * tctx->n_div[i] - bit_size;\n        num_rounded_up = tctx->n_div[i] - num_rounded_down;\n        tctx->bits_main_spec[0][i][0] = (rounded_up   + 1)/2;\n        tctx->bits_main_spec[1][i][0] = (rounded_up      )/2;\n        tctx->bits_main_spec[0][i][1] = (rounded_down + 1)/2;\n        tctx->bits_main_spec[1][i][1] = (rounded_down    )/2;\n        tctx->bits_main_spec_change[i] = num_rounded_up;\n        rounded_up   = (vect_size + tctx->n_div[i] - 1)/tctx->n_div[i];\n        rounded_down = (vect_size                     )/tctx->n_div[i];\n        num_rounded_down = rounded_up * tctx->n_div[i] - vect_size;\n        num_rounded_up = tctx->n_div[i] - num_rounded_down;\n        tctx->length[i][0] = rounded_up;\n        tctx->length[i][1] = rounded_down;\n        tctx->length_change[i] = num_rounded_up;\n    }\n    for (i=0; i < 4; i++)\n        construct_perm_table(tctx, i);\n}']