[][src]Function ffmpeg_sys_next::avcodec_parameters_copy

pub unsafe extern "C" fn avcodec_parameters_copy(
    dst: *mut AVCodecParameters,
    src: *const AVCodecParameters
) -> c_int

Copy the contents of src to dst. Any allocated fields in dst are freed and replaced with newly allocated duplicates of the corresponding fields in src.

@return >= 0 on success, a negative AVERROR code on failure.