History

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).

Martin Storsjö committed 14 years ago

Commit 9a92aea1 parent fb32f3110 files · +78 −5Browse files

Showing the changes to doc/APIchanges (1 of 10 files). Show all

Unified · Split

doc/APIchanges+4−0
@@ -13,6 +13,10 @@ libavutil: 2011-04-18 · 12 unmodified lines
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162012-10-xx - xxxxxxx - lavu 51.43.0 - aes.h, md5.h, sha.h, tree.h
17 Add functions for allocating the opaque contexts for the algorithms,
18 deprecate the context size variables.
19
162012-10-xx - xxxxxxx - lavf 54.18.0 - avio.h202012-10-xx - xxxxxxx - lavf 54.18.0 - avio.h
17 Add avio_closep to complement avio_close.21 Add avio_closep to complement avio_close.
18 22

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t