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

libavcodec/imgconvert.c:806:1: Parameter `src->data[*]`
804. #endif
805. 
806. void av_picture_copy(AVPicture *dst, const AVPicture *src,
     ^
807.                      enum PixelFormat pix_fmt, int width, int height)
808. {

libavcodec/imgconvert.c:809:5: Call
807.                      enum PixelFormat pix_fmt, int width, int height)
808. {
809.     av_image_copy(dst->data, dst->linesize, src->data,
         ^
810.                   src->linesize, pix_fmt, width, height);
811. }

libavcore/imgutils.c:155:1: <Length trace>
153. }
154. 
155. void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
     ^
156.                    const uint8_t *src_data[4], const int src_linesizes[4],
157.                    enum PixelFormat pix_fmt, int width, int height)

libavcore/imgutils.c:155:1: Parameter `**src_data`
  153. }
  154. 
  155. void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
       ^
  156.                    const uint8_t *src_data[4], const int src_linesizes[4],
  157.                    enum PixelFormat pix_fmt, int width, int height)

libavcore/imgutils.c:169:9: Array access: Offset added: 1024 Size: 32 by call to `av_image_copy` 
  167.                             width, height);
  168.         /* copy the palette */
  169.         memcpy(dst_data[1], src_data[1], 4*256);
               ^
  170.     } else {
  171.         int i, planes_nb = 0;
