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

libavcodec/h264_direct.c:351:13: 
349.             sl->sub_mb_type[i8] = sub_mb_type;
350. 
351.             fill_rectangle(&sl->ref_cache[0][scan8[i8 * 4]], 2, 2, 8,
                 ^
352.                            (uint8_t)ref[0], 1);
353.             fill_rectangle(&sl->ref_cache[1][scan8[i8 * 4]], 2, 2, 8,
