libavcodec/h264_slice.c:1579: error: Buffer Overrun L1
  Offset: -8 Size: 40.

libavcodec/h264_slice.c:1562:1: <Length trace>
1560. }
1561. 
1562. static av_always_inline void fill_filter_caches_inter(const H264Context *h,
      ^
1563.                                                       H264SliceContext *sl,
1564.                                                       int mb_type, int top_xy,

libavcodec/h264_slice.c:1562:1: Parameter `sl->ref_cache[*][*]`
1560. }
1561. 
1562. static av_always_inline void fill_filter_caches_inter(const H264Context *h,
      ^
1563.                                                       H264SliceContext *sl,
1564.                                                       int mb_type, int top_xy,

libavcodec/h264_slice.c:1572:5: Assignment
1570.     int b_stride = h->b_stride;
1571.     int16_t(*mv_dst)[2] = &sl->mv_cache[list][scan8[0]];
1572.     int8_t *ref_cache   = &sl->ref_cache[list][scan8[0]];
          ^
1573.     if (IS_INTER(mb_type) || IS_DIRECT(mb_type)) {
1574.         if (USES_LIST(top_type, list)) {

libavcodec/h264_slice.c:1579:13: Array access: Offset: -8 Size: 40
1577.             int (*ref2frm)[64] = h->ref2frm[h->slice_table[top_xy] & (MAX_SLICES - 1)][0] + (MB_MBAFF(sl) ? 20 : 2);
1578.             AV_COPY128(mv_dst - 1 * 8, h->cur_pic.motion_val[list][b_xy + 0]);
1579.             ref_cache[0 - 1 * 8] =
                  ^
1580.             ref_cache[1 - 1 * 8] = ref2frm[list][h->cur_pic.ref_index[list][b8_xy + 0]];
1581.             ref_cache[2 - 1 * 8] =
