-
- Downloads
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>
Showing
- doc/APIchanges 4 additions, 0 deletionsdoc/APIchanges
- libavutil/aes.c 7 additions, 0 deletionslibavutil/aes.c
- libavutil/aes.h 11 additions, 1 deletionlibavutil/aes.h
- libavutil/md5.c 8 additions, 0 deletionslibavutil/md5.c
- libavutil/md5.h 7 additions, 1 deletionlibavutil/md5.h
- libavutil/sha.c 8 additions, 0 deletionslibavutil/sha.c
- libavutil/sha.h 11 additions, 1 deletionlibavutil/sha.h
- libavutil/tree.c 7 additions, 0 deletionslibavutil/tree.c
- libavutil/tree.h 11 additions, 1 deletionlibavutil/tree.h
- libavutil/version.h 4 additions, 1 deletionlibavutil/version.h
Loading
Please register or sign in to comment