libavcodec/h264.h:1074: error: Buffer Overrun L1
  Offset: -4 Size: 40.

libavcodec/h264.h:857:1: <Length trace>
855. }
856. 
857. static void fill_decode_caches(H264Context *h, int mb_type){
     ^
858.     MpegEncContext * const s = &h->s;
859.     int topleft_xy, top_xy, topright_xy, left_xy[LEFT_MBS];

libavcodec/h264.h:857:1: Parameter `h->ref_cache[*][*]`
855. }
856. 
857. static void fill_decode_caches(H264Context *h, int mb_type){
     ^
858.     MpegEncContext * const s = &h->s;
859.     int topleft_xy, top_xy, topright_xy, left_xy[LEFT_MBS];

libavcodec/h264.h:1018:13: Assignment
1016.         int b_stride = h->b_stride;
1017.         for(list=0; list<h->list_count; list++){
1018.             int8_t *ref_cache = &h->ref_cache[list][scan8[0]];
                  ^
1019.             int8_t *ref       = s->current_picture.f.ref_index[list];
1020.             int16_t (*mv_cache)[2] = &h->mv_cache[list][scan8[0]];

libavcodec/h264.h:1074:17: Array access: Offset: -4 Size: 40
1072.             }else{
1073.                 AV_ZERO32(mv_cache[4 - 1*8]);
1074.                 ref_cache[4 - 1*8]= topright_type ? LIST_NOT_USED : PART_NOT_AVAILABLE;
                      ^
1075.             }
1076.             if(ref_cache[4 - 1*8] < 0){
