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

libavcodec/h264_direct.c:292:24: 
290.                     if(ref[0] > 0)
291.                         a= pack16to32(mv[0][0],mv[0][1]);
292.                     if(ref[1] > 0)
                            ^
293.                         b= pack16to32(mv[1][0],mv[1][1]);
294.                     n++;
