libavcodec/bink.c:1246: error: Uninitialized Value
  The value read from s[_] was never initialized.

libavcodec/bink.c:1246:17: 
1244.                                           binkb_num[j]/binkb_den[j];
1245.             } else {
1246.                 binkb_intra_quant[j][i] = (1L << 12) * binkb_intra_seed[i] * s[i] *
                      ^
1247.                                           binkb_num[j]/(double)binkb_den[j];
1248.                 binkb_inter_quant[j][i] = (1L << 12) * binkb_inter_seed[i] * s[i] *

static av_cold void binkb_calc_quant()
{
    double s[64];
    int i, j;
    for (j = 0; j < 8; j++) {
        for (i = 0; i < 8; i++) {
            if (j && j != 4)
               if (i && i != 4)
                   s[j*8 + i] = cos(j * M_PI/16.0) * cos(i * M_PI/16.0) * 2.0;
               else
                   s[j*8 + i] = cos(j * M_PI/16.0) * sqrt(2.0);
            else
               if (i && i != 4)
                   s[j*8 + i] = cos(i * M_PI/16.0) * sqrt(2.0);
               else
                   s[j*8 + i] = 1.0;
        }
    }
    for (j = 0; j < 16; j++) {
        for (i = 0; i < 64; i++) {
            if (s[i] == 1.0) {
                binkb_intra_quant[j][i] = (1L << 12) * binkb_intra_seed[i] *
                                          binkb_num[j]/binkb_den[j];
                binkb_inter_quant[j][i] = (1L << 12) * binkb_inter_seed[i] *
                                          binkb_num[j]/binkb_den[j];
            } else {
                binkb_intra_quant[j][i] = (1L << 12) * binkb_intra_seed[i] * s[i] *
                                          binkb_num[j]/(double)binkb_den[j];
                binkb_inter_quant[j][i] = (1L << 12) * binkb_inter_seed[i] * s[i] *
                                          binkb_num[j]/(double)binkb_den[j];
            }
        }
    }
}
['static av_cold void binkb_calc_quant()\n{\n    double s[64];\n    int i, j;\n    for (j = 0; j < 8; j++) {\n        for (i = 0; i < 8; i++) {\n            if (j && j != 4)\n               if (i && i != 4)\n                   s[j*8 + i] = cos(j * M_PI/16.0) * cos(i * M_PI/16.0) * 2.0;\n               else\n                   s[j*8 + i] = cos(j * M_PI/16.0) * sqrt(2.0);\n            else\n               if (i && i != 4)\n                   s[j*8 + i] = cos(i * M_PI/16.0) * sqrt(2.0);\n               else\n                   s[j*8 + i] = 1.0;\n        }\n    }\n    for (j = 0; j < 16; j++) {\n        for (i = 0; i < 64; i++) {\n            if (s[i] == 1.0) {\n                binkb_intra_quant[j][i] = (1L << 12) * binkb_intra_seed[i] *\n                                          binkb_num[j]/binkb_den[j];\n                binkb_inter_quant[j][i] = (1L << 12) * binkb_inter_seed[i] *\n                                          binkb_num[j]/binkb_den[j];\n            } else {\n                binkb_intra_quant[j][i] = (1L << 12) * binkb_intra_seed[i] * s[i] *\n                                          binkb_num[j]/(double)binkb_den[j];\n                binkb_inter_quant[j][i] = (1L << 12) * binkb_inter_seed[i] * s[i] *\n                                          binkb_num[j]/(double)binkb_den[j];\n            }\n        }\n    }\n}']