libavcodec/clearvideo.c:236: error: Uninitialized Value
  The value read from has_ac[_] was never initialized.

libavcodec/clearvideo.c:236:13: 
234.     off = x * 16 + y * 16 * c->pic->linesize[0];
235.     for (i = 0; i < 4; i++) {
236.         if (decode_block(c, c->block, has_ac[i], c->ac_quant) < 0)
                 ^
237.             return AVERROR_INVALIDDATA;
238.         if (!x && !(i & 1)) {

static int decode_mb(CLVContext *c, int x, int y)
{
    int i, has_ac[6], off;
    for (i = 0; i < 6; i++)
        has_ac[i] = bitstream_read_bit(&c->bc);
    off = x * 16 + y * 16 * c->pic->linesize[0];
    for (i = 0; i < 4; i++) {
        if (decode_block(c, c->block, has_ac[i], c->ac_quant) < 0)
            return AVERROR_INVALIDDATA;
        if (!x && !(i & 1)) {
            c->block[0] += c->top_dc[0];
            c->top_dc[0] = c->block[0];
        } else {
            c->block[0] += c->left_dc[(i & 2) >> 1];
        }
        c->left_dc[(i & 2) >> 1] = c->block[0];
        c->block[0]             *= c->luma_dc_quant;
        clv_dct(c->block);
        if (i == 2)
            off += c->pic->linesize[0] * 8;
        c->idsp.put_pixels_clamped(c->block,
                                   c->pic->data[0] + off + (i & 1) * 8,
                                   c->pic->linesize[0]);
    }
    off = x * 8 + y * 8 * c->pic->linesize[1];
    for (i = 1; i < 3; i++) {
        if (decode_block(c, c->block, has_ac[i + 3], c->ac_quant) < 0)
            return AVERROR_INVALIDDATA;
        if (!x) {
            c->block[0] += c->top_dc[i];
            c->top_dc[i] = c->block[0];
        } else {
            c->block[0] += c->left_dc[i + 1];
        }
        c->left_dc[i + 1] = c->block[0];
        c->block[0]      *= c->chroma_dc_quant;
        clv_dct(c->block);
        c->idsp.put_pixels_clamped(c->block, c->pic->data[i] + off,
                                   c->pic->linesize[i]);
    }
    return 0;
}
['static int decode_mb(CLVContext *c, int x, int y)\n{\n    int i, has_ac[6], off;\n    for (i = 0; i < 6; i++)\n        has_ac[i] = bitstream_read_bit(&c->bc);\n    off = x * 16 + y * 16 * c->pic->linesize[0];\n    for (i = 0; i < 4; i++) {\n        if (decode_block(c, c->block, has_ac[i], c->ac_quant) < 0)\n            return AVERROR_INVALIDDATA;\n        if (!x && !(i & 1)) {\n            c->block[0] += c->top_dc[0];\n            c->top_dc[0] = c->block[0];\n        } else {\n            c->block[0] += c->left_dc[(i & 2) >> 1];\n        }\n        c->left_dc[(i & 2) >> 1] = c->block[0];\n        c->block[0]             *= c->luma_dc_quant;\n        clv_dct(c->block);\n        if (i == 2)\n            off += c->pic->linesize[0] * 8;\n        c->idsp.put_pixels_clamped(c->block,\n                                   c->pic->data[0] + off + (i & 1) * 8,\n                                   c->pic->linesize[0]);\n    }\n    off = x * 8 + y * 8 * c->pic->linesize[1];\n    for (i = 1; i < 3; i++) {\n        if (decode_block(c, c->block, has_ac[i + 3], c->ac_quant) < 0)\n            return AVERROR_INVALIDDATA;\n        if (!x) {\n            c->block[0] += c->top_dc[i];\n            c->top_dc[i] = c->block[0];\n        } else {\n            c->block[0] += c->left_dc[i + 1];\n        }\n        c->left_dc[i + 1] = c->block[0];\n        c->block[0]      *= c->chroma_dc_quant;\n        clv_dct(c->block);\n        c->idsp.put_pixels_clamped(c->block, c->pic->data[i] + off,\n                                   c->pic->linesize[i]);\n    }\n    return 0;\n}']