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

libavcodec/h264_loopfilter.c:340:26: Assignment
338. 
339.     if( IS_INTRA(mb_type) ) {
340.         int16_t bS4[4] = {4,4,4,4};
                              ^
341.         int16_t bS3[4] = {3,3,3,3};
342.         int16_t *bSH = FIELD_PICTURE ? bS3 : bS4;

libavcodec/h264_loopfilter.c:359:13: Call
357.         }
358.         if(left_type){
359.             filter_mb_edgecv( &img_cb[2*0], uvlinesize, bS4, qpc0, h);
                 ^
360.             filter_mb_edgecv( &img_cr[2*0], uvlinesize, bS4, qpc0, h);
361.         }

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

libavcodec/h264_loopfilter.c:119:1: Parameter `*bS`
  117.     }
  118. }
  119. static void av_always_inline filter_mb_edgecv( uint8_t *pix, int stride, int16_t bS[4], unsigned int qp, H264Context *h ) {
       ^
  120.     const unsigned int index_a = qp + h->slice_alpha_c0_offset;
  121.     const int alpha = alpha_table[index_a];

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:127:17: Array access: Offset: [3, 4] Size: 4 by call to `filter_mb_edgecv` 
  125.     if( bS[0] < 4 ) {
  126.         int8_t tc[4];
  127.         tc[0] = tc0_table[index_a][bS[0]]+1;
                       ^
  128.         tc[1] = tc0_table[index_a][bS[1]]+1;
  129.         tc[2] = tc0_table[index_a][bS[2]]+1;
