libavcodec/imgconvert.c:659: error: Buffer Overrun L1
  Offset added: 1024 Size: 64 by call to `av_image_copy`.

libavcodec/imgconvert.c:656:1: Parameter `src->data[*]`
654. }
655. 
656. void av_picture_copy(AVPicture *dst, const AVPicture *src,
     ^
657.                      enum PixelFormat pix_fmt, int width, int height)
658. {

libavcodec/imgconvert.c:659:5: Call
657.                      enum PixelFormat pix_fmt, int width, int height)
658. {
659.     av_image_copy(dst->data, dst->linesize, src->data,
         ^
660.                   src->linesize, pix_fmt, width, height);
661. }

libavutil/imgutils.c:237:1: <Length trace>
235. }
236. 
237. void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
     ^
238.                    const uint8_t *src_data[4], const int src_linesizes[4],
239.                    enum PixelFormat pix_fmt, int width, int height)

libavutil/imgutils.c:237:1: Parameter `**src_data`
  235. }
  236. 
  237. void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
       ^
  238.                    const uint8_t *src_data[4], const int src_linesizes[4],
  239.                    enum PixelFormat pix_fmt, int width, int height)

libavutil/imgutils.c:251:9: Array access: Offset added: 1024 Size: 64 by call to `av_image_copy` 
  249.                             width, height);
  250.         /* copy the palette */
  251.         memcpy(dst_data[1], src_data[1], 4*256);
               ^
  252.     } else {
  253.         int i, planes_nb = 0;
