libavcodec/h264.c:3784: error: Buffer Overrun L1
  Offset: -1 Size: 40.

libavcodec/h264.c:3750:1: <Length trace>
3748. }
3749. 
3750. static av_always_inline void fill_filter_caches_inter(H264Context *h,
      ^
3751.                                                       int mb_type, int top_xy,
3752.                                                       int left_xy[LEFT_MBS],

libavcodec/h264.c:3750:1: Parameter `h->ref_cache[*][*]`
3748. }
3749. 
3750. static av_always_inline void fill_filter_caches_inter(H264Context *h,
      ^
3751.                                                       int mb_type, int top_xy,
3752.                                                       int left_xy[LEFT_MBS],

libavcodec/h264.c:3759:5: Assignment
3757.     int b_stride = h->b_stride;
3758.     int16_t(*mv_dst)[2] = &h->mv_cache[list][scan8[0]];
3759.     int8_t *ref_cache = &h->ref_cache[list][scan8[0]];
          ^
3760.     if (IS_INTER(mb_type) || IS_DIRECT(mb_type)) {
3761.         if (USES_LIST(top_type, list)) {

libavcodec/h264.c:3784:17: Array access: Offset: -1 Size: 40
3782.                 AV_COPY32(mv_dst - 1 + 16, h->cur_pic.motion_val[list][b_xy + b_stride * 2]);
3783.                 AV_COPY32(mv_dst - 1 + 24, h->cur_pic.motion_val[list][b_xy + b_stride * 3]);
3784.                 ref_cache[-1 +  0] =
                      ^
3785.                 ref_cache[-1 +  8] = ref2frm[list][h->cur_pic.ref_index[list][b8_xy + 2 * 0]];
3786.                 ref_cache[-1 + 16] =
