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

libavcodec/hevc.c:312:17: 
310.         }
311.         for (i = 0; i < s->sh.nb_refs[L1]; i++) {
312.             if (luma_weight_l1_flag[i]) {
                     ^
313.                 int delta_luma_weight_l1 = get_se_golomb(gb);
314.                 s->sh.luma_weight_l1[i] = (1 << s->sh.luma_log2_weight_denom) + delta_luma_weight_l1;
