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

libavcodec/h264_refs.c:150:17: 
148.                         h->default_ref_list[0][i].f.buf[0]->buffer ==
149.                         h->default_ref_list[1][i].f.buf[0]->buffer; i++);
150.             if (i == lens[0]) {
                     ^
151.                 H264Picture tmp;
152.                 COPY_PICTURE(&tmp, &h->default_ref_list[1][0]);
