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

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

libavcodec/h264_loopfilter.c:258:17: Call
256.             filter_mb_edgev( &img_y[4*2], linesize, bS3, qp, h);
257.             if(top_type){
258.                 filter_mb_edgeh( &img_y[4*0*linesize], linesize, bSH, qp1, h);
                     ^
259.             }
260.             filter_mb_edgeh( &img_y[4*2*linesize], linesize, bS3, qp, h);

libavcodec/h264_loopfilter.c:177:1: <Offset trace>
175. }
176. 
177. static void av_always_inline filter_mb_edgeh( uint8_t *pix, int stride, const int16_t bS[4], unsigned int qp, H264Context *h ) {
     ^
178.     const int qp_bd_offset = 6 * (h->sps.bit_depth_luma - 8);
179.     const unsigned int index_a = qp - qp_bd_offset + h->slice_alpha_c0_offset;

libavcodec/h264_loopfilter.c:177:1: Parameter `*bS`
  175. }
  176. 
  177. static void av_always_inline filter_mb_edgeh( uint8_t *pix, int stride, const int16_t bS[4], unsigned int qp, H264Context *h ) {
       ^
  178.     const int qp_bd_offset = 6 * (h->sps.bit_depth_luma - 8);
  179.     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:186:17: Array access: Offset: [3, 4] Size: 4 by call to `filter_mb_edgeh` 
  184.     if( bS[0] < 4 ) {
  185.         int8_t tc[4];
  186.         tc[0] = tc0_table[index_a][bS[0]];
                       ^
  187.         tc[1] = tc0_table[index_a][bS[1]];
  188.         tc[2] = tc0_table[index_a][bS[2]];
