libavcodec/mpegvideo_enc.c:2337: error: Buffer Overrun L3
  Offset added: 24 Size: [0, +oo].

libavcodec/mpegvideo_enc.c:2320:1: <Length trace>
2318. }
2319. 
2320. static inline void encode_mb_hq(MpegEncContext *s, MpegEncContext *backup, MpegEncContext *best, int type,
      ^
2321.                            PutBitContext pb[2], PutBitContext pb2[2], PutBitContext tex_pb[2],
2322.                            int *dmin, int *next_block, int motion_x, int motion_y)

libavcodec/mpegvideo_enc.c:2320:1: Parameter `s->dest[*]`
2318. }
2319. 
2320. static inline void encode_mb_hq(MpegEncContext *s, MpegEncContext *backup, MpegEncContext *best, int type,
      ^
2321.                            PutBitContext pb[2], PutBitContext pb2[2], PutBitContext tex_pb[2],
2322.                            int *dmin, int *next_block, int motion_x, int motion_y)

libavcodec/mpegvideo_enc.c:2337:9: Array access: Offset added: 24 Size: [0, +oo]
2335. 
2336.     if(*next_block){
2337.         memcpy(dest_backup, s->dest, sizeof(s->dest));
              ^
2338.         s->dest[0] = s->sc.rd_scratchpad;
2339.         s->dest[1] = s->sc.rd_scratchpad + 16*s->linesize;
