[Libav-user] Deep copy of AVCodecContext

Lukasz Marek lukasz.m.luki2 at gmail.com
Thu Apr 23 02:10:31 CEST 2015

W dniu wtorek, 21 kwietnia 2015 Zahir Dhada <zahir.dhada at zeuslearning.com>

> Hi all,
>  But I cannot seem to find anything on how to make a deep copy of the
> AVCodecContext.
> Any help in the matter would be appreciated.

I didn't even try to understant your use case, but there is such function.
It may be not full deep copy (ffmpeg community will surly apreciate patches
for bugs there),
anyway the function you are looking for is avcodec_copy_context. I'm not
sure it is in public header, but should be exported at least.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20150423/5dd7f11c/attachment.html>

More information about the Libav-user mailing list