Function avcodec_parameters_copy
pub unsafe extern "C" fn avcodec_parameters_copy(
dst: *mut AVCodecParameters,
src: *const AVCodecParameters,
) -> i32
Expand description
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.