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

libavcodec/h264_direct.c:419:13: 
417.             fill_rectangle(&sl->ref_cache[0][scan8[i8 * 4]], 2, 2, 8,
418.                            (uint8_t)ref[0], 1);
419.             fill_rectangle(&sl->ref_cache[1][scan8[i8 * 4]], 2, 2, 8,
                 ^
420.                            (uint8_t)ref[1], 1);
421. 
