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

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:347:13: Call
345.         if( IS_8x8DCT(mb_type) ) {
346.             filter_mb_edgev( &img_y[4*2], linesize, bS3, qp, h);
347.             filter_mb_edgeh( &img_y[4*0*linesize], linesize, bSH, qp1, h);
                 ^
348.             filter_mb_edgeh( &img_y[4*2*linesize], linesize, bS3, qp, h);
349.         } else {

libavcodec/h264_loopfilter.c:272:1: <Offset trace>
270. }
271. 
272. static void av_always_inline filter_mb_edgeh( uint8_t *pix, int stride, int16_t bS[4], unsigned int qp, H264Context *h ) {
     ^
273.     const unsigned int index_a = qp + h->slice_alpha_c0_offset;
274.     const int alpha = alpha_table[index_a];

libavcodec/h264_loopfilter.c:272:1: Parameter `*bS`
  270. }
  271. 
  272. static void av_always_inline filter_mb_edgeh( uint8_t *pix, int stride, int16_t bS[4], unsigned int qp, H264Context *h ) {
       ^
  273.     const unsigned int index_a = qp + h->slice_alpha_c0_offset;
  274.     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:280:17: Array access: Offset: [3, 4] Size: 4 by call to `filter_mb_edgeh` 
  278.     if( bS[0] < 4 ) {
  279.         int8_t tc[4];
  280.         tc[0] = tc0_table[index_a][bS[0]];
                       ^
  281.         tc[1] = tc0_table[index_a][bS[1]];
  282.         tc[2] = tc0_table[index_a][bS[2]];
