libavcodec/mpegvideo_enc.c:1972: error: Buffer Overrun L2
  Offset: [7, 70] (⇐ 7 + [0, 63]) Size: 8 by call to `get_visual_weight`.

libavcodec/mpegvideo_enc.c:1721:1: Array declaration
1719. }
1720. 
1721. static av_always_inline void encode_mb_internal(MpegEncContext *s,
      ^
1722.                                                 int motion_x, int motion_y,
1723.                                                 int mb_block_height,

libavcodec/mpegvideo_enc.c:1972:17: Call
1970.                                   wrap_c);
1971.             if (!skip_dct[7])
1972.                 get_visual_weight(weight[7], ptr_cr + (dct_offset >> 1),
                      ^
1973.                                   wrap_c);
1974.         }

libavcodec/mpegvideo_enc.c:1701:10: <Offset trace>
1699.     int x, y;
1700.     // FIXME optimize
1701.     for (y = 0; y < 8; y++) {
               ^
1702.         for (x = 0; x < 8; x++) {
1703.             int x2, y2;

libavcodec/mpegvideo_enc.c:1701:10: Assignment
  1699.     int x, y;
  1700.     // FIXME optimize
  1701.     for (y = 0; y < 8; y++) {
                 ^
  1702.         for (x = 0; x < 8; x++) {
  1703.             int x2, y2;

libavcodec/mpegvideo_enc.c:1697:1: <Length trace>
1695. }
1696. 
1697. static void get_visual_weight(int16_t *weight, uint8_t *ptr, int stride)
      ^
1698. {
1699.     int x, y;

libavcodec/mpegvideo_enc.c:1697:1: Parameter `*weight`
  1695. }
  1696. 
  1697. static void get_visual_weight(int16_t *weight, uint8_t *ptr, int stride)
        ^
  1698. {
  1699.     int x, y;

libavcodec/mpegvideo_enc.c:1716:13: Array access: Offset: [7, 70] (⇐ 7 + [0, 63]) Size: 8 by call to `get_visual_weight` 
  1714.                 }
  1715.             }
  1716.             weight[x + 8 * y]= (36 * ff_sqrt(count * sqr - sum * sum)) / count;
                    ^
  1717.         }
  1718.     }
