Quoting Hendrik Leppkes (2017-01-13 12:16:16) > On Fri, Jan 13, 2017 at 10:04 PM, Anton Khirnov <[email protected]> wrote: > > Before this commit, AVIOContext is to be freed with a plain av_free(), > > which prevents us from adding any deeper structure to it. > > avio_close(p) already closes and destructs a AVIOContext, what exactly > is this doing that it can't do? >
avio_close() only works on AVIOContexts created with avio_open() (i.e. using our internal protocol layer), not custom ones. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
