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

libavcodec/mpegvideo_enc.c:1824:1: <Length trace>
1822. }
1823. 
1824. static inline void encode_mb_hq(MpegEncContext *s, MpegEncContext *backup, MpegEncContext *best, int type,
      ^
1825.                            PutBitContext pb[2], PutBitContext pb2[2], PutBitContext tex_pb[2],
1826.                            int *dmin, int *next_block, int motion_x, int motion_y)

libavcodec/mpegvideo_enc.c:1824:1: Parameter `s->dest[*]`
1822. }
1823. 
1824. static inline void encode_mb_hq(MpegEncContext *s, MpegEncContext *backup, MpegEncContext *best, int type,
      ^
1825.                            PutBitContext pb[2], PutBitContext pb2[2], PutBitContext tex_pb[2],
1826.                            int *dmin, int *next_block, int motion_x, int motion_y)

libavcodec/mpegvideo_enc.c:1841:9: Array access: Offset added: 24 Size: [0, +oo]
1839. 
1840.     if(*next_block){
1841.         memcpy(dest_backup, s->dest, sizeof(s->dest));
              ^
1842.         s->dest[0] = s->rd_scratchpad;
1843.         s->dest[1] = s->rd_scratchpad + 16*s->linesize;
