libavutil/frame.c:489: error: Buffer Overrun L1
  Offset added: 1024 Size: 64 by call to `av_image_copy`.

libavutil/frame.c:474:1: Parameter `src->data[*]`
472. }
473. 
474. static int frame_copy_video(AVFrame *dst, const AVFrame *src)
     ^
475. {
476.     const uint8_t *src_data[4];

libavutil/frame.c:489:5: Call
487. 
488.     memcpy(src_data, src->data, sizeof(src_data));
489.     av_image_copy(dst->data, dst->linesize,
         ^
490.                   src_data, src->linesize,
491.                   dst->format, dst->width, dst->height);

libavutil/imgutils.c:244:1: <Length trace>
242. }
243. 
244. void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
     ^
245.                    const uint8_t *src_data[4], const int src_linesizes[4],
246.                    enum AVPixelFormat pix_fmt, int width, int height)

libavutil/imgutils.c:244:1: Parameter `**src_data`
  242. }
  243. 
  244. void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
       ^
  245.                    const uint8_t *src_data[4], const int src_linesizes[4],
  246.                    enum AVPixelFormat pix_fmt, int width, int height)

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