libavcodec/h264_refs.c:142: error: Uninitialized Value
  The value read from lens[_] was never initialized.

libavcodec/h264_refs.c:142:17: 
140.         if(lens[0] == lens[1] && lens[1] > 1){
141.             for (i = 0; h->default_ref_list[0][i].f.data[0] == h->default_ref_list[1][i].f.data[0] && i < lens[0]; i++);
142.             if (i == lens[0]) {
                     ^
143.                 Picture tmp;
144.                 COPY_PICTURE(&tmp, &h->default_ref_list[1][0]);
