diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-04-05 08:36:00 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-18 10:17:41 +0200 |
commit | fd056029f45a9f6d213d9fce8165632042511d4f (patch) | |
tree | a8d099315752e011355e129cda5a77e50e5444d2 /doc/APIchanges | |
parent | e1b66778b6ee82a192b5895e23c4e135f7269326 (diff) | |
download | ffmpeg-fd056029f45a9f6d213d9fce8165632042511d4f.tar.gz |
lavc: add avcodec_free_context().
Right now, the caller has to manually manage some allocated
AVCodecContext fields, like extradata or subtitle_header. This is
fragile and prone to leaks, especially if we want to add more such
fields in the future.
The only reason for this behaviour is so that the AVStream codec context
can be reused for decoding. Such reuse is discouraged anyway, so this
commit is the first step to deprecating it.
Diffstat (limited to 'doc/APIchanges')
-rw-r--r-- | doc/APIchanges | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges index 57ef04f422..c6242eef1c 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,10 @@ libavutil: 2013-12-xx API changes, most recent first: +2014-04-xx - xxxxxxx - lavc 55.52.0 - avcodec.h + Add avcodec_free_context(). From now on it should be used for freeing + AVCodecContext. + 2014-05-xx - xxxxxxx - lavf 55.17.0 - avformat.h Add AVMFT_FLAG_BITEXACT flag. Muxers now use it instead of checking CODEC_FLAG_BITEXACT on the first stream. |