libavcodec/h264_loopfilter.c:729: error: Buffer Overrun L2
  Offset: [0, 4] Size: 4 by call to `filter_mb_mbaff_edgev`.

libavcodec/h264_loopfilter.c:700:21: Assignment
698. 
699.                 if( IS_INTRA( mbn_type ) )
700.                     bS[i] = 4;
                         ^
701.                 else{
702.                     bS[i] = 1 + !!(h->non_zero_count_cache[12+8*(i>>1)] |

libavcodec/h264_loopfilter.c:729:13: Call
727.         { int i; for (i = 0; i < 8; i++) tprintf(s->avctx, " bS[%d]:%d", i, bS[i]); tprintf(s->avctx, "\n"); }
728.         if(MB_FIELD){
729.             filter_mb_mbaff_edgev ( h, img_y                ,   linesize, bS  , 1, qp [0] );
                 ^
730.             filter_mb_mbaff_edgev ( h, img_y  + 8*  linesize,   linesize, bS+4, 1, qp [1] );
731.             filter_mb_mbaff_edgecv( h, img_cb,                uvlinesize, bS  , 1, bqp[0] );

libavcodec/h264_loopfilter.c:138:1: <Offset trace>
136. }
137. 
138. static void filter_mb_mbaff_edgev( H264Context *h, uint8_t *pix, int stride, int16_t bS[4], int bsi, int qp ) {
     ^
139.     int i;
140.     int index_a = qp + h->slice_alpha_c0_offset;

libavcodec/h264_loopfilter.c:138:1: Parameter `*bS`
  136. }
  137. 
  138. static void filter_mb_mbaff_edgev( H264Context *h, uint8_t *pix, int stride, int16_t bS[4], int bsi, int qp ) {
       ^
  139.     int i;
  140.     int index_a = qp + 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:151:29: Array access: Offset: [0, 4] Size: 4 by call to `filter_mb_mbaff_edgev` 
  149. 
  150.         if( bS[bS_index] < 4 ) {
  151.             const int tc0 = tc0_table[index_a][bS[bS_index]];
                                   ^
  152.             const int p0 = pix[-1];
  153.             const int p1 = pix[-2];
