avcodec_parameters_copy

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.

extern (C) @nogc nothrow
int
avcodec_parameters_copy

Meta