Fill the parameters struct based on the values from the supplied codec context. Any allocated fields in par are freed and replaced with duplicates of the corresponding fields in codec.
@return >= 0 on success, a negative AVERROR code on failure
See Implementation
Fill the parameters struct based on the values from the supplied codec context. Any allocated fields in par are freed and replaced with duplicates of the corresponding fields in codec.
@return >= 0 on success, a negative AVERROR code on failure