avio: add a destructor for AVIOContext
authorAnton Khirnov <anton@khirnov.net>
Sun, 27 Aug 2017 16:26:58 +0000 (13:26 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 1 Sep 2017 04:51:15 +0000 (01:51 -0300)
commitb12e4d3bb8df994f042ff1216fb8de2b967aab9e
tree9d2572b4666edf949b82ffacc4f14103366e3883
parent837580f458f2ccbbd6e82d3c7591916deb81ef02
avio: add a destructor for AVIOContext

Before this commit, AVIOContext is to be freed with a plain av_free(),
which prevents us from adding any deeper structure to it.

(cherry picked from commit 99684f3ae752fc8bfb44a2dd1482f8d7a3d8536d)
Signed-off-by: James Almer <jamrial@gmail.com>
doc/APIchanges
libavformat/avio.h
libavformat/aviobuf.c
libavformat/version.h