On Thu, 23 Apr 2015 02:10:31 +0200 Lukasz Marek <[email protected]> wrote:
> W dniu wtorek, 21 kwietnia 2015 Zahir Dhada <[email protected]> > napisaĆ(a): > > > 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. It copies only codec parameters, and explicitly does not work on opened contexts. An actual deep copy during decoding would be insane. (Don't know if that matters for his use-case.) _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
