libavcodec/h264.c:3766: error: Buffer Overrun L1
  Offset: -8 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:3766:13: Array access: Offset: -8 Size: 40
3764.             int (*ref2frm)[64] = h->ref2frm[h->slice_table[top_xy] & (MAX_SLICES - 1)][0] + (MB_MBAFF ? 20 : 2);
3765.             AV_COPY128(mv_dst - 1 * 8, h->cur_pic.motion_val[list][b_xy + 0]);
3766.             ref_cache[0 - 1 * 8] =
                  ^
3767.             ref_cache[1 - 1 * 8] = ref2frm[list][h->cur_pic.ref_index[list][b8_xy + 0]];
3768.             ref_cache[2 - 1 * 8] =
