libavcodec/mpegvideo_enc.c:1754: error: Buffer Overrun L1
  Offset added: 1024 Size: 128 by call to `encode_mb_internal`.

libavcodec/mpegvideo_enc.c:1754:41: Call
1752. {
1753.     if (s->chroma_format == CHROMA_420) encode_mb_internal(s, motion_x, motion_y,  8, 6);
1754.     else                                encode_mb_internal(s, motion_x, motion_y, 16, 8);
                                              ^
1755. }
1756. 

libavcodec/mpegvideo_enc.c:1457:1: <Offset trace>
1455. }
1456. 
1457. static av_always_inline void encode_mb_internal(MpegEncContext *s, int motion_x, int motion_y, int mb_block_height, int mb_block_count)
      ^
1458. {
1459.     int16_t weight[8][64];

libavcodec/mpegvideo_enc.c:1457:1: Parameter `mb_block_count`
  1455. }
  1456. 
  1457. static av_always_inline void encode_mb_internal(MpegEncContext *s, int motion_x, int motion_y, int mb_block_height, int mb_block_count)
        ^
  1458. {
  1459.     int16_t weight[8][64];

libavcodec/mpegvideo_enc.c:1457:1: <Length trace>
1455. }
1456. 
1457. static av_always_inline void encode_mb_internal(MpegEncContext *s, int motion_x, int motion_y, int mb_block_height, int mb_block_count)
      ^
1458. {
1459.     int16_t weight[8][64];

libavcodec/mpegvideo_enc.c:1457:1: Array declaration
  1455. }
  1456. 
  1457. static av_always_inline void encode_mb_internal(MpegEncContext *s, int motion_x, int motion_y, int mb_block_height, int mb_block_count)
        ^
  1458. {
  1459.     int16_t weight[8][64];

libavcodec/mpegvideo_enc.c:1648:9: Array access: Offset added: 1024 Size: 128 by call to `encode_mb_internal` 
  1646.             if(!skip_dct[7]) get_visual_weight(weight[7], ptr_cr + (dct_offset>>1), wrap_c);
  1647.         }
  1648.         memcpy(orig[0], s->block[0], sizeof(DCTELEM)*64*mb_block_count);
                ^
  1649.     }
  1650. 
