Hi all, does anybody know of a way to deep copy a format context (for demuxing) or a codec context (for decoding)?
As both hold priv_data structs that are not known externally this is not so easy to acheive from the outside. In case of the format context, can sort of a deep copy being acheived by using av_seek_frame to the last position in the file? Is there a secure way to get the last read position (i.e. by using ByteIOContext pos member) or might there be some internal read ahead so that av_read_frame does read from an internal cache? Any hint appreciated. Chhers Axel _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
