[Libav-user] avcodec_copy_context deprecation
philippe.gorley at savoirfairelinux.com
Thu Sep 28 17:20:56 EEST 2017
On 2017-09-28 07:30 AM, Michael IV wrote:
> I am getting compiler warning for avcodec_parameters_copy being deprecated.
avcodec_parameters_copy is not deprecated on master.
> But I also can't figure out how to use avcodec_parameters_copy when I
> have AVStream as destination and AVCodecContext as src .AVCodecContext
> doesn't have AVCodecParamters property.
You'll want to look at avcodec_parameters_from_context and
avcodec_parameters_to_context, which are described here:
You can find an example of their use in doc/examples/transcoding.c
> Libav-user mailing list
> Libav-user at ffmpeg.org
Free Software Consultant | Montréal, Qc
Confidentiality Message: This communication (including any files
transmitted with it) is intended solely for the person or entity to
whom it is addressed, and may contain confidential or privileged
The disclosure, distribution or copying of this message is strictly
forbidden. Should you have received this communication in error,
kindly contact the sender promptly, destroy any copies and delete
this message from your computer system.
More information about the Libav-user