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

libavcodec/h264_direct.c:322:20: 
320.                 if(ref[0] > 0)
321.                     a= mv[0];
322.                 if(ref[1] > 0)
                        ^
323.                     b= mv[1];
324.             }else{
