libavcodec/h264_mvpred.h:657: error: Buffer Overrun L1
  Offset: -1 Size: 40.

libavcodec/h264_mvpred.h:442:1: <Length trace>
440. }
441. 
442. static void fill_decode_caches(H264Context *h, int mb_type)
     ^
443. {
444.     MpegEncContext *const s = &h->s;

libavcodec/h264_mvpred.h:442:1: Parameter `h->ref_cache[*][*]`
440. }
441. 
442. static void fill_decode_caches(H264Context *h, int mb_type)
     ^
443. {
444.     MpegEncContext *const s = &h->s;

libavcodec/h264_mvpred.h:608:13: Assignment
606.         int b_stride = h->b_stride;
607.         for (list = 0; list < h->list_count; list++) {
608.             int8_t *ref_cache = &h->ref_cache[list][scan8[0]];
                 ^
609.             int8_t *ref       = s->current_picture.f.ref_index[list];
610.             int16_t(*mv_cache)[2] = &h->mv_cache[list][scan8[0]];

libavcodec/h264_mvpred.h:657:21: Array access: Offset: -1 Size: 40
655.                 } else {
656.                     AV_ZERO32(mv_cache[-1]);
657.                     ref_cache[-1] = left_type[LTOP] ? LIST_NOT_USED
                         ^
658.                                                     : PART_NOT_AVAILABLE;
659.                 }
