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

libavcodec/imgconvert.c:667:1: Parameter `src->data[*]`
665. }
666. 
667. void av_picture_copy(AVPicture *dst, const AVPicture *src,
     ^
668.                      enum PixelFormat pix_fmt, int width, int height)
669. {

libavcodec/imgconvert.c:670:5: Call
668.                      enum PixelFormat pix_fmt, int width, int height)
669. {
670.     av_image_copy(dst->data, dst->linesize, src->data,
         ^
671.                   src->linesize, pix_fmt, width, height);
672. }

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

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

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