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

libavcodec/h264_direct.c:349:32: 
347.                             if(ref[0] == 0)
348.                                 fill_rectangle(&h->mv_cache[0][scan8[i8*4]], 2, 2, 8, 0, 4);
349.                             if(ref[1] == 0)
                                    ^
350.                                 fill_rectangle(&h->mv_cache[1][scan8[i8*4]], 2, 2, 8, 0, 4);
351.                             n+=4;
