libavcodec/h264_loopfilter.c:268: error: Buffer Overrun L2
  Offset: [3, 4] Size: 4 by call to `filter_mb_edgecv`.

libavcodec/h264_loopfilter.c:248:26: Assignment
246. 
247.     if( IS_INTRA(mb_type) ) {
248.         int16_t bS4[4] = {4,4,4,4};
                              ^
249.         int16_t bS3[4] = {3,3,3,3};
250.         int16_t *bSH = FIELD_PICTURE ? bS3 : bS4;

libavcodec/h264_loopfilter.c:268:17: Call
266.         if(chroma){
267.             if(left_type){
268.                 filter_mb_edgecv( &img_cb[2*0], uvlinesize, bS4, qpc0, h);
                     ^
269.                 filter_mb_edgecv( &img_cr[2*0], uvlinesize, bS4, qpc0, h);
270.             }

libavcodec/h264_loopfilter.c:121:1: <Offset trace>
119.     }
120. }
121. static void av_always_inline filter_mb_edgecv( uint8_t *pix, int stride, int16_t bS[4], unsigned int qp, H264Context *h ) {
     ^
122.     const int qp_bd_offset = 6 * (h->sps.bit_depth_luma - 8);
123.     const unsigned int index_a = qp - qp_bd_offset + h->slice_alpha_c0_offset;

libavcodec/h264_loopfilter.c:121:1: Parameter `*bS`
  119.     }
  120. }
  121. static void av_always_inline filter_mb_edgecv( uint8_t *pix, int stride, int16_t bS[4], unsigned int qp, H264Context *h ) {
       ^
  122.     const int qp_bd_offset = 6 * (h->sps.bit_depth_luma - 8);
  123.     const unsigned 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:130:17: Array access: Offset: [3, 4] Size: 4 by call to `filter_mb_edgecv` 
  128.     if( bS[0] < 4 ) {
  129.         int8_t tc[4];
  130.         tc[0] = tc0_table[index_a][bS[0]]+1;
                       ^
  131.         tc[1] = tc0_table[index_a][bS[1]]+1;
  132.         tc[2] = tc0_table[index_a][bS[2]]+1;
