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

libavcodec/h264_loopfilter.c:634:21: Assignment
632. 
633.                 if( IS_INTRA( mbn_type ) )
634.                     bS[i] = 4;
                         ^
635.                 else{
636.                     bS[i] = 1 + !!(h->non_zero_count_cache[12+8*(i>>1)] |

libavcodec/h264_loopfilter.c:672:13: Call
670.             }
671.         }else{
672.             filter_mb_mbaff_edgev ( h, img_y              , 2*  linesize, bS  , 2, qp [0] );
                 ^
673.             filter_mb_mbaff_edgev ( h, img_y  +   linesize, 2*  linesize, bS+1, 2, qp [1] );
674.             if (chroma){

libavcodec/h264_loopfilter.c:140:1: <Offset trace>
138. }
139. 
140. static void filter_mb_mbaff_edgev( H264Context *h, uint8_t *pix, int stride, int16_t bS[7], int bsi, int qp ) {
     ^
141.     const int qp_bd_offset = 6 * (h->sps.bit_depth_luma - 8);
142.     int index_a = qp - qp_bd_offset + h->slice_alpha_c0_offset;

libavcodec/h264_loopfilter.c:140:1: Parameter `*bS`
  138. }
  139. 
  140. static void filter_mb_mbaff_edgev( H264Context *h, uint8_t *pix, int stride, int16_t bS[7], int bsi, int qp ) {
       ^
  141.     const int qp_bd_offset = 6 * (h->sps.bit_depth_luma - 8);
  142.     int index_a = qp - qp_bd_offset + h->slice_alpha_c0_offset;

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:149:17: Array access: Offset: [1, 4] Size: 4 by call to `filter_mb_mbaff_edgev` 
  147.     if( bS[0] < 4 ) {
  148.         int8_t tc[4];
  149.         tc[0] = tc0_table[index_a][bS[0*bsi]];
                       ^
  150.         tc[1] = tc0_table[index_a][bS[1*bsi]];
  151.         tc[2] = tc0_table[index_a][bS[2*bsi]];
