libavcodec/h264_mvpred.h:646: error: Buffer Overrun L3
  Offset: [-1, 15] Size: 40.

libavcodec/h264_mvpred.h:632:22: <Offset trace>
630. 
631.             if (mb_type & (MB_TYPE_16x8 | MB_TYPE_8x8)) {
632.                 for (i = 0; i < 2; i++) {
                          ^
633.                     int cache_idx = -1 + i * 2 * 8;
634.                     if (USES_LIST(left_type[LEFT(i)], list)) {

libavcodec/h264_mvpred.h:632:22: Assignment
630. 
631.             if (mb_type & (MB_TYPE_16x8 | MB_TYPE_8x8)) {
632.                 for (i = 0; i < 2; i++) {
                          ^
633.                     int cache_idx = -1 + i * 2 * 8;
634.                     if (USES_LIST(left_type[LEFT(i)], list)) {

libavcodec/h264_mvpred.h:633:21: Assignment
631.             if (mb_type & (MB_TYPE_16x8 | MB_TYPE_8x8)) {
632.                 for (i = 0; i < 2; i++) {
633.                     int cache_idx = -1 + i * 2 * 8;
                         ^
634.                     if (USES_LIST(left_type[LEFT(i)], list)) {
635.                         const int b_xy  = h->mb2b_xy[left_xy[LEFT(i)]] + 3;

libavcodec/h264_mvpred.h:445:1: <Length trace>
443. }
444. 
445. static void fill_decode_caches(const H264Context *h, H264SliceContext *sl, int mb_type)
     ^
446. {
447.     int topleft_xy, top_xy, topright_xy, left_xy[LEFT_MBS];

libavcodec/h264_mvpred.h:445:1: Parameter `sl->ref_cache[*][*]`
443. }
444. 
445. static void fill_decode_caches(const H264Context *h, H264SliceContext *sl, int mb_type)
     ^
446. {
447.     int topleft_xy, top_xy, topright_xy, left_xy[LEFT_MBS];

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

libavcodec/h264_mvpred.h:646:25: Array access: Offset: [-1, 15] Size: 40
644.                         AV_ZERO32(mv_cache[cache_idx]);
645.                         AV_ZERO32(mv_cache[cache_idx + 8]);
646.                         ref_cache[cache_idx]     =
                             ^
647.                         ref_cache[cache_idx + 8] = (left_type[LEFT(i)]) ? LIST_NOT_USED
648.                                                                         : PART_NOT_AVAILABLE;
