Quoting Hendrik Leppkes (2017-01-13 12:16:16)
> On Fri, Jan 13, 2017 at 10:04 PM, Anton Khirnov <an...@khirnov.net> 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

Reply via email to