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

libavcodec/h264_direct.c:298:24: 
296.                     if(ref[0] > 0)
297.                         a= mv[0];
298.                     if(ref[1] > 0)
                            ^
299.                         b= mv[1];
300.                     n++;
