libavcodec/hevc.c:1938: error: Uninitialized Value
  The value read from prev_intra_luma_pred_flag[_] was never initialized.

libavcodec/hevc.c:1938:17: 
1936.     for (i = 0; i < side; i++) {
1937.         for (j = 0; j < side; j++) {
1938.             if (prev_intra_luma_pred_flag[2 * i + j])
                      ^
1939.                 lc->pu.mpm_idx = ff_hevc_mpm_idx_decode(s);
1940.             else

static void intra_prediction_unit(HEVCContext *s, int x0, int y0,
                                  int log2_cb_size)
{
    HEVCLocalContext *lc = &s->HEVClc;
    static const uint8_t intra_chroma_table[4] = { 0, 26, 10, 1 };
    uint8_t prev_intra_luma_pred_flag[4];
    int split   = lc->cu.part_mode == PART_NxN;
    int pb_size = (1 << log2_cb_size) >> split;
    int side    = split + 1;
    int chroma_mode;
    int i, j;
    for (i = 0; i < side; i++)
        for (j = 0; j < side; j++)
            prev_intra_luma_pred_flag[2 * i + j] = ff_hevc_prev_intra_luma_pred_flag_decode(s);
    for (i = 0; i < side; i++) {
        for (j = 0; j < side; j++) {
            if (prev_intra_luma_pred_flag[2 * i + j])
                lc->pu.mpm_idx = ff_hevc_mpm_idx_decode(s);
            else
                lc->pu.rem_intra_luma_pred_mode = ff_hevc_rem_intra_luma_pred_mode_decode(s);
            lc->pu.intra_pred_mode[2 * i + j] =
                luma_intra_pred_mode(s, x0 + pb_size * j, y0 + pb_size * i, pb_size,
                                     prev_intra_luma_pred_flag[2 * i + j]);
        }
    }
    chroma_mode = ff_hevc_intra_chroma_pred_mode_decode(s);
    if (chroma_mode != 4) {
        if (lc->pu.intra_pred_mode[0] == intra_chroma_table[chroma_mode])
            lc->pu.intra_pred_mode_c = 34;
        else
            lc->pu.intra_pred_mode_c = intra_chroma_table[chroma_mode];
    } else {
        lc->pu.intra_pred_mode_c = lc->pu.intra_pred_mode[0];
    }
}
['static void intra_prediction_unit(HEVCContext *s, int x0, int y0,\n                                  int log2_cb_size)\n{\n    HEVCLocalContext *lc = &s->HEVClc;\n    static const uint8_t intra_chroma_table[4] = { 0, 26, 10, 1 };\n    uint8_t prev_intra_luma_pred_flag[4];\n    int split   = lc->cu.part_mode == PART_NxN;\n    int pb_size = (1 << log2_cb_size) >> split;\n    int side    = split + 1;\n    int chroma_mode;\n    int i, j;\n    for (i = 0; i < side; i++)\n        for (j = 0; j < side; j++)\n            prev_intra_luma_pred_flag[2 * i + j] = ff_hevc_prev_intra_luma_pred_flag_decode(s);\n    for (i = 0; i < side; i++) {\n        for (j = 0; j < side; j++) {\n            if (prev_intra_luma_pred_flag[2 * i + j])\n                lc->pu.mpm_idx = ff_hevc_mpm_idx_decode(s);\n            else\n                lc->pu.rem_intra_luma_pred_mode = ff_hevc_rem_intra_luma_pred_mode_decode(s);\n            lc->pu.intra_pred_mode[2 * i + j] =\n                luma_intra_pred_mode(s, x0 + pb_size * j, y0 + pb_size * i, pb_size,\n                                     prev_intra_luma_pred_flag[2 * i + j]);\n        }\n    }\n    chroma_mode = ff_hevc_intra_chroma_pred_mode_decode(s);\n    if (chroma_mode != 4) {\n        if (lc->pu.intra_pred_mode[0] == intra_chroma_table[chroma_mode])\n            lc->pu.intra_pred_mode_c = 34;\n        else\n            lc->pu.intra_pred_mode_c = intra_chroma_table[chroma_mode];\n    } else {\n        lc->pu.intra_pred_mode_c = lc->pu.intra_pred_mode[0];\n    }\n}']