libavcodec/h264_loopfilter.c:779: error: Buffer Overrun L2
  Offset: [1, 4] Size: 4 by call to `filter_mb_mbaff_edgev`.

libavcodec/h264_loopfilter.c:750:21: Assignment
748. 
749.                 if( IS_INTRA( mbn_type ) )
750.                     bS[i] = 4;
                         ^
751.                 else{
752.                     bS[i] = 1 + !!(h->non_zero_count_cache[12+8*(i>>1)] |

libavcodec/h264_loopfilter.c:779:13: Call
777.         { int i; for (i = 0; i < 8; i++) tprintf(h->avctx, " bS[%d]:%d", i, bS[i]); tprintf(h->avctx, "\n"); }
778.         if(MB_FIELD){
779.             filter_mb_mbaff_edgev ( h, img_y                ,   linesize, bS  , 1, qp [0], a, b, 1 );
                 ^
780.             filter_mb_mbaff_edgev ( h, img_y  + 8*  linesize,   linesize, bS+4, 1, qp [1], a, b, 1 );
781.             if (chroma){

libavcodec/h264_loopfilter.c:148:1: <Offset trace>
146. }
147. 
148. static av_always_inline void filter_mb_mbaff_edgev(H264Context *h, uint8_t *pix,
     ^
149.                                                    int stride,
150.                                                    const int16_t bS[7], int bsi,

libavcodec/h264_loopfilter.c:148:1: Parameter `*bS`
  146. }
  147. 
  148. static av_always_inline void filter_mb_mbaff_edgev(H264Context *h, uint8_t *pix,
       ^
  149.                                                    int stride,
  150.                                                    const int16_t bS[7], int bsi,

libavcodec/h264_loopfilter.c:73:1: <Length trace>
71.     18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18,
72. };
73. static const uint8_t tc0_table[52*3][4] = {
    ^
74.     {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 },
75.     {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 },

libavcodec/h264_loopfilter.c:73:1: Array declaration
  71.     18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18,
  72. };
  73. static const uint8_t tc0_table[52*3][4] = {
      ^
  74.     {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 },
  75.     {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 },

libavcodec/h264_loopfilter.c:161:17: Array access: Offset: [1, 4] Size: 4 by call to `filter_mb_mbaff_edgev` 
  159.     if( bS[0] < 4 || !intra ) {
  160.         int8_t tc[4];
  161.         tc[0] = tc0_table[index_a][bS[0*bsi]];
                       ^
  162.         tc[1] = tc0_table[index_a][bS[1*bsi]];
  163.         tc[2] = tc0_table[index_a][bS[2*bsi]];
