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

libavcodec/hevc.c:317:17: 
315.                 s->sh.luma_offset_l1[i] = get_se_golomb(gb);
316.             }
317.             if (chroma_weight_l1_flag[i]) {
                     ^
318.                 for (j = 0; j < 2; j++) {
319.                     int delta_chroma_weight_l1 = get_se_golomb(gb);
