libavcodec/h264.c:2945: error: Uninitialized Value
  The value read from len[_] was never initialized.

libavcodec/h264.c:2945:16: 
2943.                     }
2944. 
2945.             if(len[list] < h->ref_count[ list ])
                     ^
2946.                 memset(&h->default_ref_list[list][len[list]], 0, sizeof(Picture)*(h->ref_count[ list ] - len[list]));
2947.         }
