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

libavcodec/h264_loopfilter.c:750:21: Assignment
748. 
749.                 if( IS_INTRA( mbn_type ) )
750.                     bS[i] = 4;
                         ^
751.                 else{
752.                     bS[i] = 1 + !!(h->non_zero_count_cache[12+8*(i>>1)] |

libavcodec/h264_loopfilter.c:788:21: Call
786.                     filter_mb_mbaff_edgev ( h, img_cr + 8*uvlinesize, uvlinesize, bS+4, 1, rqp[1], a, b, 1 );
787.                 } else if (CHROMA422(h)) {
788.                     filter_mb_mbaff_edgecv(h, img_cb,                uvlinesize, bS  , 1, bqp[0], a, b, 1);
                         ^
789.                     filter_mb_mbaff_edgecv(h, img_cb + 8*uvlinesize, uvlinesize, bS+4, 1, bqp[1], a, b, 1);
790.                     filter_mb_mbaff_edgecv(h, img_cr,                uvlinesize, bS  , 1, rqp[0], a, b, 1);

libavcodec/h264_loopfilter.c:171:1: <Offset trace>
169. }
170. 
171. static av_always_inline void filter_mb_mbaff_edgecv(H264Context *h,
     ^
172.                                                     uint8_t *pix, int stride,
173.                                                     const int16_t bS[7],

libavcodec/h264_loopfilter.c:171:1: Parameter `*bS`
  169. }
  170. 
  171. static av_always_inline void filter_mb_mbaff_edgecv(H264Context *h,
       ^
  172.                                                     uint8_t *pix, int stride,
  173.                                                     const int16_t bS[7],

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