libavcodec/h264_direct.c:345: error: Uninitialized Value
  The value read from ref[_] was never initialized.

libavcodec/h264_direct.c:345:13: 
343.             fill_rectangle(&h->ref_cache[0][scan8[i8 * 4]], 2, 2, 8,
344.                            (uint8_t)ref[0], 1);
345.             fill_rectangle(&h->ref_cache[1][scan8[i8 * 4]], 2, 2, 8,
                 ^
346.                            (uint8_t)ref[1], 1);
347.             if (!IS_INTRA(mb_type_col[y8]) && !h->ref_list[1][0].long_ref &&
