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

libavcodec/h264_loopfilter.c:722:21: Assignment
720. 
721.                 if( IS_INTRA( mbn_type ) )
722.                     bS[i] = 4;
                         ^
723.                 else{
724.                     bS[i] = 1 + !!(h->non_zero_count_cache[12+8*(i>>1)] |

libavcodec/h264_loopfilter.c:765:21: Call
763.                     filter_mb_mbaff_edgecv(h, img_cr + 8*uvlinesize, uvlinesize, bS+4, 1, rqp[1], a, b, 1);
764.                 }else{
765.                     filter_mb_mbaff_edgecv( h, img_cb,                uvlinesize, bS  , 1, bqp[0], a, b, 1 );
                         ^
766.                     filter_mb_mbaff_edgecv( h, img_cb + 4*uvlinesize, uvlinesize, bS+4, 1, bqp[1], a, b, 1 );
767.                     filter_mb_mbaff_edgecv( h, img_cr,                uvlinesize, bS  , 1, rqp[0], a, b, 1 );

libavcodec/h264_loopfilter.c:156:1: <Offset trace>
154.     }
155. }
156. static void av_always_inline filter_mb_mbaff_edgecv( H264Context *h, uint8_t *pix, int stride, const int16_t bS[7], int bsi, int qp, int a, int b, int intra ) {
     ^
157.     const unsigned int index_a = qp + a;
158.     const int alpha = alpha_table[index_a];

libavcodec/h264_loopfilter.c:156:1: Parameter `*bS`
  154.     }
  155. }
  156. static void av_always_inline filter_mb_mbaff_edgecv( H264Context *h, uint8_t *pix, int stride, const int16_t bS[7], int bsi, int qp, int a, int b, int intra ) {
       ^
  157.     const unsigned int index_a = qp + a;
  158.     const int alpha = alpha_table[index_a];

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