libavcodec/dpxenc.c:157: error: Buffer Overrun L1
  Offset added: 1024 Size: 64 by call to `av_image_copy_to_buffer`.

libavcodec/dpxenc.c:107:1: Parameter `frame->data[*]`
105. }
106. 
107. static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
     ^
108.                         const AVFrame *frame, int *got_packet)
109. {

libavcodec/dpxenc.c:157:16: Call
155.     case 8:
156.     case 16:
157.         size = av_image_copy_to_buffer(buf + HEADER_SIZE,
                    ^
158.                                        pkt->size - HEADER_SIZE,
159.                                        frame->data, frame->linesize,

libavutil/imgutils.c:345:1: <Length trace>
343. }
344. 
345. int av_image_copy_to_buffer(uint8_t *dst, int dst_size,
     ^
346.                             const uint8_t * const src_data[4],
347.                             const int src_linesize[4],

libavutil/imgutils.c:345:1: Parameter `**src_data`
  343. }
  344. 
  345. int av_image_copy_to_buffer(uint8_t *dst, int dst_size,
       ^
  346.                             const uint8_t * const src_data[4],
  347.                             const int src_linesize[4],

libavutil/imgutils.c:377:9: Array access: Offset added: 1024 Size: 64 by call to `av_image_copy_to_buffer` 
  375. 
  376.     if (desc->flags & AV_PIX_FMT_FLAG_PAL)
  377.         memcpy((unsigned char *)(((size_t)dst + 3) & ~3),
               ^
  378.                src_data[1], 256 * 4);
  379. 
