libavcodec/h264.c:3661: error: Buffer Overrun L3
  Offset added: 256 Size: [0, +oo].

libavcodec/h264.c:3646:1: <Length trace>
3644.  * Replicates H264 "master" context to thread contexts.
3645.  */
3646. static void clone_slice(H264Context *dst, H264Context *src)
      ^
3647. {
3648.     memcpy(dst->block_offset,     src->block_offset, sizeof(dst->block_offset));

libavcodec/h264.c:3646:1: Parameter `src->short_ref[*]`
3644.  * Replicates H264 "master" context to thread contexts.
3645.  */
3646. static void clone_slice(H264Context *dst, H264Context *src)
      ^
3647. {
3648.     memcpy(dst->block_offset,     src->block_offset, sizeof(dst->block_offset));

libavcodec/h264.c:3661:5: Array access: Offset added: 256 Size: [0, +oo]
3659.     dst->short_ref_count        = src->short_ref_count;
3660. 
3661.     memcpy(dst->short_ref,        src->short_ref,        sizeof(dst->short_ref));
          ^
3662.     memcpy(dst->long_ref,         src->long_ref,         sizeof(dst->long_ref));
3663.     memcpy(dst->default_ref_list, src->default_ref_list, sizeof(dst->default_ref_list));

static void clone_slice(H264Context *dst, H264Context *src)
{
    memcpy(dst->block_offset,     src->block_offset, sizeof(dst->block_offset));
    dst->s.current_picture_ptr  = src->s.current_picture_ptr;
    dst->s.current_picture      = src->s.current_picture;
    dst->s.linesize             = src->s.linesize;
    dst->s.uvlinesize           = src->s.uvlinesize;
    dst->s.first_field          = src->s.first_field;
    dst->prev_poc_msb           = src->prev_poc_msb;
    dst->prev_poc_lsb           = src->prev_poc_lsb;
    dst->prev_frame_num_offset  = src->prev_frame_num_offset;
    dst->prev_frame_num         = src->prev_frame_num;
    dst->short_ref_count        = src->short_ref_count;
    memcpy(dst->short_ref,        src->short_ref,        sizeof(dst->short_ref));
    memcpy(dst->long_ref,         src->long_ref,         sizeof(dst->long_ref));
    memcpy(dst->default_ref_list, src->default_ref_list, sizeof(dst->default_ref_list));
    memcpy(dst->ref_list,         src->ref_list,         sizeof(dst->ref_list));
    memcpy(dst->dequant4_coeff,   src->dequant4_coeff,   sizeof(src->dequant4_coeff));
    memcpy(dst->dequant8_coeff,   src->dequant8_coeff,   sizeof(src->dequant8_coeff));
}
['static void clone_slice(H264Context *dst, H264Context *src)\n{\n    memcpy(dst->block_offset,     src->block_offset, sizeof(dst->block_offset));\n    dst->s.current_picture_ptr  = src->s.current_picture_ptr;\n    dst->s.current_picture      = src->s.current_picture;\n    dst->s.linesize             = src->s.linesize;\n    dst->s.uvlinesize           = src->s.uvlinesize;\n    dst->s.first_field          = src->s.first_field;\n    dst->prev_poc_msb           = src->prev_poc_msb;\n    dst->prev_poc_lsb           = src->prev_poc_lsb;\n    dst->prev_frame_num_offset  = src->prev_frame_num_offset;\n    dst->prev_frame_num         = src->prev_frame_num;\n    dst->short_ref_count        = src->short_ref_count;\n    memcpy(dst->short_ref,        src->short_ref,        sizeof(dst->short_ref));\n    memcpy(dst->long_ref,         src->long_ref,         sizeof(dst->long_ref));\n    memcpy(dst->default_ref_list, src->default_ref_list, sizeof(dst->default_ref_list));\n    memcpy(dst->ref_list,         src->ref_list,         sizeof(dst->ref_list));\n    memcpy(dst->dequant4_coeff,   src->dequant4_coeff,   sizeof(src->dequant4_coeff));\n    memcpy(dst->dequant8_coeff,   src->dequant8_coeff,   sizeof(src->dequant8_coeff));\n}']