libavcodec/ac3enc.c:212: error: Uninitialized Value
  The value read from rot[_] was never initialized.

libavcodec/ac3enc.c:212:9: 
210.     /* pre rotation */
211.     for(i=0;i<N/4;i++) {
212.         re = ((int)rot[2*i] - (int)rot[N-1-2*i]) >> 1;
             ^
213.         im = -((int)rot[N/2+2*i] - (int)rot[N/2-1-2*i]) >> 1;
214.         CMUL(x[i].re, x[i].im, re, im, -xcos1[i], xsin1[i]);

static void mdct512(int32_t *out, int16_t *in)
{
    int i, re, im, re1, im1;
    int16_t rot[N];
    IComplex x[N/4];
    for(i=0;i<N/4;i++)
        rot[i] = -in[i + 3*N/4];
    for(i=N/4;i<N;i++)
        rot[i] = in[i - N/4];
    for(i=0;i<N/4;i++) {
        re = ((int)rot[2*i] - (int)rot[N-1-2*i]) >> 1;
        im = -((int)rot[N/2+2*i] - (int)rot[N/2-1-2*i]) >> 1;
        CMUL(x[i].re, x[i].im, re, im, -xcos1[i], xsin1[i]);
    }
    fft(x, MDCT_NBITS - 2);
    for(i=0;i<N/4;i++) {
        re = x[i].re;
        im = x[i].im;
        CMUL(re1, im1, re, im, xsin1[i], xcos1[i]);
        out[2*i] = im1;
        out[N/2-1-2*i] = re1;
    }
}
['static void mdct512(int32_t *out, int16_t *in)\n{\n    int i, re, im, re1, im1;\n    int16_t rot[N];\n    IComplex x[N/4];\n    for(i=0;i<N/4;i++)\n        rot[i] = -in[i + 3*N/4];\n    for(i=N/4;i<N;i++)\n        rot[i] = in[i - N/4];\n    for(i=0;i<N/4;i++) {\n        re = ((int)rot[2*i] - (int)rot[N-1-2*i]) >> 1;\n        im = -((int)rot[N/2+2*i] - (int)rot[N/2-1-2*i]) >> 1;\n        CMUL(x[i].re, x[i].im, re, im, -xcos1[i], xsin1[i]);\n    }\n    fft(x, MDCT_NBITS - 2);\n    for(i=0;i<N/4;i++) {\n        re = x[i].re;\n        im = x[i].im;\n        CMUL(re1, im1, re, im, xsin1[i], xcos1[i]);\n        out[2*i] = im1;\n        out[N/2-1-2*i] = re1;\n    }\n}']