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

libavcodec/h264_direct.c:343:13: 
341.             h->sub_mb_type[i8] = sub_mb_type;
342. 
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,
