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

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:824:21: Call
822.                     filter_mb_mbaff_edgev ( h, img_cr + uvlinesize, 2*uvlinesize, bS+1, 2, rqp[1], a, b, 1 );
823.                 }else{
824.                     filter_mb_mbaff_edgecv( h, img_cb,              2*uvlinesize, bS  , 2, bqp[0], a, b, 1 );
                         ^
825.                     filter_mb_mbaff_edgecv( h, img_cb + uvlinesize, 2*uvlinesize, bS+1, 2, bqp[1], a, b, 1 );
826.                     filter_mb_mbaff_edgecv( h, img_cr,              2*uvlinesize, bS  , 2, rqp[0], a, b, 1 );

libavcodec/h264_loopfilter.c:170:1: <Offset trace>
168. }
169. 
170. static av_always_inline void filter_mb_mbaff_edgecv(const H264Context *h,
     ^
171.                                                     uint8_t *pix, int stride,
172.                                                     const int16_t bS[7],

libavcodec/h264_loopfilter.c:170:1: Parameter `*bS`
  168. }
  169. 
  170. static av_always_inline void filter_mb_mbaff_edgecv(const H264Context *h,
       ^
  171.                                                     uint8_t *pix, int stride,
  172.                                                     const int16_t bS[7],

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:183:17: Array access: Offset: [1, 4] Size: 4 by call to `filter_mb_mbaff_edgecv` 
  181.     if( bS[0] < 4 || !intra ) {
  182.         int8_t tc[4];
  183.         tc[0] = tc0_table[index_a][bS[0*bsi]] + 1;
                       ^
  184.         tc[1] = tc0_table[index_a][bS[1*bsi]] + 1;
  185.         tc[2] = tc0_table[index_a][bS[2*bsi]] + 1;
