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

libavcodec/imgconvert.c:837:1: Parameter `src->data[*]`
835. }
836. 
837. void av_picture_copy(AVPicture *dst, const AVPicture *src,
     ^
838.                      enum PixelFormat pix_fmt, int width, int height)
839. {

libavcodec/imgconvert.c:840:5: Call
838.                      enum PixelFormat pix_fmt, int width, int height)
839. {
840.     av_picture_data_copy(dst->data, dst->linesize, src->data,
         ^
841.                          src->linesize, pix_fmt, width, height);
842. }

libavcodec/imgconvert.c:804:1: <Length trace>
802. #endif
803. 
804. void av_picture_data_copy(uint8_t *dst_data[4], int dst_linesize[4],
     ^
805.                           uint8_t *src_data[4], int src_linesize[4],
806.                           enum PixelFormat pix_fmt, int width, int height)

libavcodec/imgconvert.c:804:1: Parameter `**src_data`
  802. #endif
  803. 
  804. void av_picture_data_copy(uint8_t *dst_data[4], int dst_linesize[4],
       ^
  805.                           uint8_t *src_data[4], int src_linesize[4],
  806.                           enum PixelFormat pix_fmt, int width, int height)

libavcodec/imgconvert.c:832:9: Array access: Offset added: 1024 Size: 32 by call to `av_picture_data_copy` 
  830.                           width, height);
  831.         /* copy the palette */
  832.         memcpy(dst_data[1], src_data[1], 4*256);
               ^
  833.         break;
  834.     }
