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

libavcodec/h264_direct.c:353:13: 
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,
                 ^
354.                            (uint8_t)ref[1], 1);
355.             if (!IS_INTRA(mb_type_col[y8]) && !sl->ref_list[1][0].parent->long_ref &&
