libavcodec/h263.c:1448: error: Uninitialized Value
  The value read from rec_intradc[_] was never initialized.

libavcodec/h263.c:1448:13: 
1446.         /* Update INTRADC for decoding */
1447.         if (s->h263_aic && s->mb_intra) {
1448.             block[i][0] = rec_intradc[i];
                  ^
1449. 
1450.         }

void h263_encode_mb(MpegEncContext * s,
                    DCTELEM block[6][64],
                    int motion_x, int motion_y)
{
    int cbpc, cbpy, i, cbp, pred_x, pred_y;
    int16_t pred_dc;
    int16_t rec_intradc[6];
    int16_t *dc_ptr[6];
    const int interleaved_stats= (s->flags&CODEC_FLAG_PASS1);
    const int dquant_code[5]= {1,0,9,2,3};
    if (!s->mb_intra) {
        cbp= get_p_cbp(s, block, motion_x, motion_y);
        if ((cbp | motion_x | motion_y | s->dquant | (s->mv_type - MV_TYPE_16X16)) == 0) {
            put_bits(&s->pb, 1, 1);
            if(interleaved_stats){
                s->misc_bits++;
                s->last_bits++;
            }
            s->skip_count++;
            return;
        }
        put_bits(&s->pb, 1, 0);
        cbpc = cbp & 3;
        cbpy = cbp >> 2;
        if(s->alt_inter_vlc==0 || cbpc!=3)
            cbpy ^= 0xF;
        if(s->dquant) cbpc+= 8;
        if(s->mv_type==MV_TYPE_16X16){
            put_bits(&s->pb,
                    inter_MCBPC_bits[cbpc],
                    inter_MCBPC_code[cbpc]);
            put_bits(&s->pb, cbpy_tab[cbpy][1], cbpy_tab[cbpy][0]);
            if(s->dquant)
                put_bits(&s->pb, 2, dquant_code[s->dquant+2]);
            if(interleaved_stats){
                s->misc_bits+= get_bits_diff(s);
            }
            h263_pred_motion(s, 0, 0, &pred_x, &pred_y);
            if (!s->umvplus) {
                ff_h263_encode_motion_vector(s, motion_x - pred_x,
                                                motion_y - pred_y, 1);
            }
            else {
                h263p_encode_umotion(s, motion_x - pred_x);
                h263p_encode_umotion(s, motion_y - pred_y);
                if (((motion_x - pred_x) == 1) && ((motion_y - pred_y) == 1))
                    put_bits(&s->pb,1,1);
            }
        }else{
            put_bits(&s->pb,
                    inter_MCBPC_bits[cbpc+16],
                    inter_MCBPC_code[cbpc+16]);
            put_bits(&s->pb, cbpy_tab[cbpy][1], cbpy_tab[cbpy][0]);
            if(s->dquant)
                put_bits(&s->pb, 2, dquant_code[s->dquant+2]);
            if(interleaved_stats){
                s->misc_bits+= get_bits_diff(s);
            }
            for(i=0; i<4; i++){
                h263_pred_motion(s, i, 0, &pred_x, &pred_y);
                motion_x= s->current_picture.motion_val[0][ s->block_index[i] ][0];
                motion_y= s->current_picture.motion_val[0][ s->block_index[i] ][1];
                if (!s->umvplus) {
                    ff_h263_encode_motion_vector(s, motion_x - pred_x,
                                                    motion_y - pred_y, 1);
                }
                else {
                    h263p_encode_umotion(s, motion_x - pred_x);
                    h263p_encode_umotion(s, motion_y - pred_y);
                    if (((motion_x - pred_x) == 1) && ((motion_y - pred_y) == 1))
                        put_bits(&s->pb,1,1);
                }
            }
        }
        if(interleaved_stats){
            s->mv_bits+= get_bits_diff(s);
        }
    } else {
        assert(s->mb_intra);
        cbp = 0;
        if (s->h263_aic) {
            for(i=0; i<6; i++) {
                int16_t level = block[i][0];
                int scale;
                if(i<4) scale= s->y_dc_scale;
                else    scale= s->c_dc_scale;
                pred_dc = h263_pred_dc(s, i, &dc_ptr[i]);
                level -= pred_dc;
                if (level >= 0)
                    level = (level + (scale>>1))/scale;
                else
                    level = (level - (scale>>1))/scale;
                if (level == 0 && s->block_last_index[i] == 0)
                    s->block_last_index[i] = -1;
                if(!s->modified_quant){
                    if (level < -127)
                        level = -127;
                    else if (level > 127)
                        level = 127;
                }
                block[i][0] = level;
                rec_intradc[i] = scale*level + pred_dc;
                rec_intradc[i] |= 1;
                if (rec_intradc[i] < 0)
                    rec_intradc[i] = 0;
                else if (rec_intradc[i] > 2047)
                    rec_intradc[i] = 2047;
                *dc_ptr[i] = rec_intradc[i];
                if (s->block_last_index[i] >= 0)
                    cbp |= 1 << (5 - i);
            }
        }else{
            for(i=0; i<6; i++) {
                if (s->block_last_index[i] >= 1)
                    cbp |= 1 << (5 - i);
            }
        }
        cbpc = cbp & 3;
        if (s->pict_type == FF_I_TYPE) {
            if(s->dquant) cbpc+=4;
            put_bits(&s->pb,
                intra_MCBPC_bits[cbpc],
                intra_MCBPC_code[cbpc]);
        } else {
            if(s->dquant) cbpc+=8;
            put_bits(&s->pb, 1, 0);
            put_bits(&s->pb,
                inter_MCBPC_bits[cbpc + 4],
                inter_MCBPC_code[cbpc + 4]);
        }
        if (s->h263_aic) {
            put_bits(&s->pb, 1, 0);
        }
        cbpy = cbp >> 2;
        put_bits(&s->pb, cbpy_tab[cbpy][1], cbpy_tab[cbpy][0]);
        if(s->dquant)
            put_bits(&s->pb, 2, dquant_code[s->dquant+2]);
        if(interleaved_stats){
            s->misc_bits+= get_bits_diff(s);
        }
    }
    for(i=0; i<6; i++) {
        h263_encode_block(s, block[i], i);
        if (s->h263_aic && s->mb_intra) {
            block[i][0] = rec_intradc[i];
        }
    }
    if(interleaved_stats){
        if (!s->mb_intra) {
            s->p_tex_bits+= get_bits_diff(s);
            s->f_count++;
        }else{
            s->i_tex_bits+= get_bits_diff(s);
            s->i_count++;
        }
    }
}
['void h263_encode_mb(MpegEncContext * s,\n                    DCTELEM block[6][64],\n                    int motion_x, int motion_y)\n{\n    int cbpc, cbpy, i, cbp, pred_x, pred_y;\n    int16_t pred_dc;\n    int16_t rec_intradc[6];\n    int16_t *dc_ptr[6];\n    const int interleaved_stats= (s->flags&CODEC_FLAG_PASS1);\n    const int dquant_code[5]= {1,0,9,2,3};\n    if (!s->mb_intra) {\n        cbp= get_p_cbp(s, block, motion_x, motion_y);\n        if ((cbp | motion_x | motion_y | s->dquant | (s->mv_type - MV_TYPE_16X16)) == 0) {\n            put_bits(&s->pb, 1, 1);\n            if(interleaved_stats){\n                s->misc_bits++;\n                s->last_bits++;\n            }\n            s->skip_count++;\n            return;\n        }\n        put_bits(&s->pb, 1, 0);\n        cbpc = cbp & 3;\n        cbpy = cbp >> 2;\n        if(s->alt_inter_vlc==0 || cbpc!=3)\n            cbpy ^= 0xF;\n        if(s->dquant) cbpc+= 8;\n        if(s->mv_type==MV_TYPE_16X16){\n            put_bits(&s->pb,\n                    inter_MCBPC_bits[cbpc],\n                    inter_MCBPC_code[cbpc]);\n            put_bits(&s->pb, cbpy_tab[cbpy][1], cbpy_tab[cbpy][0]);\n            if(s->dquant)\n                put_bits(&s->pb, 2, dquant_code[s->dquant+2]);\n            if(interleaved_stats){\n                s->misc_bits+= get_bits_diff(s);\n            }\n            h263_pred_motion(s, 0, 0, &pred_x, &pred_y);\n            if (!s->umvplus) {\n                ff_h263_encode_motion_vector(s, motion_x - pred_x,\n                                                motion_y - pred_y, 1);\n            }\n            else {\n                h263p_encode_umotion(s, motion_x - pred_x);\n                h263p_encode_umotion(s, motion_y - pred_y);\n                if (((motion_x - pred_x) == 1) && ((motion_y - pred_y) == 1))\n                    put_bits(&s->pb,1,1);\n            }\n        }else{\n            put_bits(&s->pb,\n                    inter_MCBPC_bits[cbpc+16],\n                    inter_MCBPC_code[cbpc+16]);\n            put_bits(&s->pb, cbpy_tab[cbpy][1], cbpy_tab[cbpy][0]);\n            if(s->dquant)\n                put_bits(&s->pb, 2, dquant_code[s->dquant+2]);\n            if(interleaved_stats){\n                s->misc_bits+= get_bits_diff(s);\n            }\n            for(i=0; i<4; i++){\n                h263_pred_motion(s, i, 0, &pred_x, &pred_y);\n                motion_x= s->current_picture.motion_val[0][ s->block_index[i] ][0];\n                motion_y= s->current_picture.motion_val[0][ s->block_index[i] ][1];\n                if (!s->umvplus) {\n                    ff_h263_encode_motion_vector(s, motion_x - pred_x,\n                                                    motion_y - pred_y, 1);\n                }\n                else {\n                    h263p_encode_umotion(s, motion_x - pred_x);\n                    h263p_encode_umotion(s, motion_y - pred_y);\n                    if (((motion_x - pred_x) == 1) && ((motion_y - pred_y) == 1))\n                        put_bits(&s->pb,1,1);\n                }\n            }\n        }\n        if(interleaved_stats){\n            s->mv_bits+= get_bits_diff(s);\n        }\n    } else {\n        assert(s->mb_intra);\n        cbp = 0;\n        if (s->h263_aic) {\n            for(i=0; i<6; i++) {\n                int16_t level = block[i][0];\n                int scale;\n                if(i<4) scale= s->y_dc_scale;\n                else    scale= s->c_dc_scale;\n                pred_dc = h263_pred_dc(s, i, &dc_ptr[i]);\n                level -= pred_dc;\n                if (level >= 0)\n                    level = (level + (scale>>1))/scale;\n                else\n                    level = (level - (scale>>1))/scale;\n                if (level == 0 && s->block_last_index[i] == 0)\n                    s->block_last_index[i] = -1;\n                if(!s->modified_quant){\n                    if (level < -127)\n                        level = -127;\n                    else if (level > 127)\n                        level = 127;\n                }\n                block[i][0] = level;\n                rec_intradc[i] = scale*level + pred_dc;\n                rec_intradc[i] |= 1;\n                if (rec_intradc[i] < 0)\n                    rec_intradc[i] = 0;\n                else if (rec_intradc[i] > 2047)\n                    rec_intradc[i] = 2047;\n                *dc_ptr[i] = rec_intradc[i];\n                if (s->block_last_index[i] >= 0)\n                    cbp |= 1 << (5 - i);\n            }\n        }else{\n            for(i=0; i<6; i++) {\n                if (s->block_last_index[i] >= 1)\n                    cbp |= 1 << (5 - i);\n            }\n        }\n        cbpc = cbp & 3;\n        if (s->pict_type == FF_I_TYPE) {\n            if(s->dquant) cbpc+=4;\n            put_bits(&s->pb,\n                intra_MCBPC_bits[cbpc],\n                intra_MCBPC_code[cbpc]);\n        } else {\n            if(s->dquant) cbpc+=8;\n            put_bits(&s->pb, 1, 0);\n            put_bits(&s->pb,\n                inter_MCBPC_bits[cbpc + 4],\n                inter_MCBPC_code[cbpc + 4]);\n        }\n        if (s->h263_aic) {\n            put_bits(&s->pb, 1, 0);\n        }\n        cbpy = cbp >> 2;\n        put_bits(&s->pb, cbpy_tab[cbpy][1], cbpy_tab[cbpy][0]);\n        if(s->dquant)\n            put_bits(&s->pb, 2, dquant_code[s->dquant+2]);\n        if(interleaved_stats){\n            s->misc_bits+= get_bits_diff(s);\n        }\n    }\n    for(i=0; i<6; i++) {\n        h263_encode_block(s, block[i], i);\n        if (s->h263_aic && s->mb_intra) {\n            block[i][0] = rec_intradc[i];\n        }\n    }\n    if(interleaved_stats){\n        if (!s->mb_intra) {\n            s->p_tex_bits+= get_bits_diff(s);\n            s->f_count++;\n        }else{\n            s->i_tex_bits+= get_bits_diff(s);\n            s->i_count++;\n        }\n    }\n}']