libavcodec/h264.h:1474: error: Buffer Overrun L2
  Offset: [1, 6] (⇐ [0, 3] + [1, 3]) Size: 4 by call to `fill_decode_caches`.

libavcodec/h264.h:1473:13: Call
1471.         mb_type|= MB_TYPE_L0L1|MB_TYPE_DIRECT2|MB_TYPE_SKIP;
1472.         if(h->direct_spatial_mv_pred){
1473.             fill_decode_neighbors(h, mb_type);
                  ^
1474.         fill_decode_caches(h, mb_type); //FIXME check what is needed and what not ...
1475.         }

libavcodec/h264.h:749:5: Array declaration
  747.     const int mb_xy= h->mb_xy;
  748.     int topleft_xy, top_xy, topright_xy, left_xy[2];
  749.     static const uint8_t left_block_options[4][16]={
           ^
  750.         {0,1,2,3,7,10,8,11,7+0*8, 7+1*8, 7+2*8, 7+3*8, 2+0*8, 2+3*8, 2+1*8, 2+2*8},
  751.         {2,2,3,3,8,11,8,11,7+2*8, 7+2*8, 7+3*8, 7+3*8, 2+1*8, 2+2*8, 2+1*8, 2+2*8},

libavcodec/h264.h:766:5: Assignment
  764.     topright_xy= top_xy + 1;
  765.     left_xy[1] = left_xy[0] = mb_xy-1;
  766.     h->left_block = left_block_options[0];
           ^
  767.     if(FRAME_MBAFF){
  768.         const int left_mb_field_flag     = IS_INTERLACED(s->current_picture.mb_type[mb_xy-1]);

libavcodec/h264.h:1474:9: Call
1472.         if(h->direct_spatial_mv_pred){
1473.             fill_decode_neighbors(h, mb_type);
1474.         fill_decode_caches(h, mb_type); //FIXME check what is needed and what not ...
              ^
1475.         }
1476.         ff_h264_pred_direct_motion(h, &mb_type);

libavcodec/h264.h:895:21: <Offset trace>
893.                     h->intra4x4_pred_mode_cache[7+8*0]= pred;
894.                 }
895.                 for(i=0; i<2; i++){
                         ^
896.                     if(IS_INTRA4x4(left_type[i])){
897.                         h->intra4x4_pred_mode_cache[3+8*1 + 2*8*i]= h->intra4x4_pred_mode[left_xy[i]][left_block[0+2*i]];

libavcodec/h264.h:895:21: Assignment
  893.                     h->intra4x4_pred_mode_cache[7+8*0]= pred;
  894.                 }
  895.                 for(i=0; i<2; i++){
                           ^
  896.                     if(IS_INTRA4x4(left_type[i])){
  897.                         h->intra4x4_pred_mode_cache[3+8*1 + 2*8*i]= h->intra4x4_pred_mode[left_xy[i]][left_block[0+2*i]];

libavcodec/h264.h:814:1: <Length trace>
812. }
813. 
814. static void fill_decode_caches(H264Context *h, int mb_type){
     ^
815.     MpegEncContext * const s = &h->s;
816.     int topleft_xy, top_xy, topright_xy, left_xy[2];

libavcodec/h264.h:814:1: Parameter `*h->left_block`
  812. }
  813. 
  814. static void fill_decode_caches(H264Context *h, int mb_type){
       ^
  815.     MpegEncContext * const s = &h->s;
  816.     int topleft_xy, top_xy, topright_xy, left_xy[2];

libavcodec/h264.h:818:5: Assignment
  816.     int topleft_xy, top_xy, topright_xy, left_xy[2];
  817.     int topleft_type, top_type, topright_type, left_type[2];
  818.     const uint8_t * left_block= h->left_block;
           ^
  819.     int i;
  820. 

libavcodec/h264.h:898:103: Array access: Offset: [1, 6] (⇐ [0, 3] + [1, 3]) Size: 4 by call to `fill_decode_caches` 
  896.                     if(IS_INTRA4x4(left_type[i])){
  897.                         h->intra4x4_pred_mode_cache[3+8*1 + 2*8*i]= h->intra4x4_pred_mode[left_xy[i]][left_block[0+2*i]];
  898.                         h->intra4x4_pred_mode_cache[3+8*2 + 2*8*i]= h->intra4x4_pred_mode[left_xy[i]][left_block[1+2*i]];
                                                                                                             ^
  899.                     }else{
  900.                         int pred;
