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

libavcodec/h264_loopfilter.c:765:21: Assignment
763. 
764.                 if( IS_INTRA( mbn_type ) )
765.                     bS[i] = 4;
                         ^
766.                 else{
767.                     bS[i] = 1 + !!(sl->non_zero_count_cache[12+8*(i>>1)] |

libavcodec/h264_loopfilter.c:815:13: Call
813.             }
814.         }else{
815.             filter_mb_mbaff_edgev ( h, img_y              , 2*  linesize, bS  , 2, qp [0], a, b, 1 );
                 ^
816.             filter_mb_mbaff_edgev ( h, img_y  +   linesize, 2*  linesize, bS+1, 2, qp [1], a, b, 1 );
817.             if (chroma){

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

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

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

libavcodec/h264_loopfilter.c:72:1: Array declaration
  70.     18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18,
  71. };
  72. static const uint8_t tc0_table[52*3][4] = {
      ^
  73.     {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 }, {-1, 0, 0, 0 },
  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 },

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