W dniu wtorek, 21 kwietnia 2015 Zahir Dhada <<a href="mailto:zahir.dhada@zeuslearning.com">zahir.dhada@zeuslearning.com</a>> napisał(a):<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div> But I cannot seem to find anything on how to make a deep copy of the AVCodecContext.<br></div><div><div><br></div><div>Any help in the matter would be appreciated.</div></div></div></blockquote><div><br></div><div>I didn't even try to understant your use case, but there is such function.</div><div>It may be not full deep copy (ffmpeg community will surly apreciate patches for bugs there), </div><div>anyway the function you are looking for is <span style="background-color:rgba(255,255,255,0)"><font face="Helvetica Neue, Helvetica, Arial, sans-serif" size="3" style="font-style:italic">avcodec_copy_context.</font><font face="Helvetica Neue, Helvetica, Arial, sans-serif"> I'm not sure it is in public header, but should be exported at least.</font></span></div>