libavutil/frame.c:488: error: Buffer Overrun L3
  Offset added: 32 Size: [0, +oo].

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

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:488:5: Array access: Offset added: 32 Size: [0, +oo]
486.             return AVERROR(EINVAL);
487. 
488.     memcpy(src_data, src->data, sizeof(src_data));
         ^
489.     av_image_copy(dst->data, dst->linesize,
490.                   src_data, src->linesize,

static int frame_copy_video(AVFrame *dst, const AVFrame *src)
{
    const uint8_t *src_data[4];
    int i, planes;
    if (dst->width  != src->width ||
        dst->height != src->height)
        return AVERROR(EINVAL);
    planes = av_pix_fmt_count_planes(dst->format);
    for (i = 0; i < planes; i++)
        if (!dst->data[i] || !src->data[i])
            return AVERROR(EINVAL);
    memcpy(src_data, src->data, sizeof(src_data));
    av_image_copy(dst->data, dst->linesize,
                  src_data, src->linesize,
                  dst->format, dst->width, dst->height);
    return 0;
}
['static int frame_copy_video(AVFrame *dst, const AVFrame *src)\n{\n    const uint8_t *src_data[4];\n    int i, planes;\n    if (dst->width  != src->width ||\n        dst->height != src->height)\n        return AVERROR(EINVAL);\n    planes = av_pix_fmt_count_planes(dst->format);\n    for (i = 0; i < planes; i++)\n        if (!dst->data[i] || !src->data[i])\n            return AVERROR(EINVAL);\n    memcpy(src_data, src->data, sizeof(src_data));\n    av_image_copy(dst->data, dst->linesize,\n                  src_data, src->linesize,\n                  dst->format, dst->width, dst->height);\n    return 0;\n}']