diff options
author | Martin Storsjö <martin@martin.st> | 2012-10-11 15:08:04 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-10-11 23:35:27 +0300 |
commit | 9a92aea27bad2f5603ca85e0d0716c679a6b686c (patch) | |
tree | a38dae27b4c15cc4a75c0a3745351b8c5b3fd122 /doc | |
parent | fb32f31af76ce784c86c59c86c28e5653e223610 (diff) | |
download | ffmpeg-streaming-9a92aea27bad2f5603ca85e0d0716c679a6b686c.zip ffmpeg-streaming-9a92aea27bad2f5603ca85e0d0716c679a6b686c.tar.gz |
avutil: Add functions for allocating opaque contexts for algorithms
The current API where the plain size is exposed is not of much
use - in most cases it is allocated dynamically anyway.
If allocated e.g. on the stack via an uint8_t array, there's no
guarantee that the struct's members are aligned properly (unless
the array is overallocated and the opaque pointer within it
manually aligned to some unspecified alignment).
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/APIchanges | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges index 3e93354..81a2266 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,10 @@ libavutil: 2011-04-18 API changes, most recent first: +2012-10-xx - xxxxxxx - lavu 51.43.0 - aes.h, md5.h, sha.h, tree.h + Add functions for allocating the opaque contexts for the algorithms, + deprecate the context size variables. + 2012-10-xx - xxxxxxx - lavf 54.18.0 - avio.h Add avio_closep to complement avio_close. |