libavcodec/h264_refs.c:330: error: Uninitialized Value
  The value read from i was never initialized.

libavcodec/h264_refs.c:330:17: 
328.             }
329. 
330.             if (i < 0) {
                     ^
331.                 av_log(h->avctx, AV_LOG_ERROR,
332.                        "reference picture missing during reorder\n");
