diff options
Diffstat (limited to 'libavutil/aes.h')
-rw-r--r-- | libavutil/aes.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libavutil/aes.h b/libavutil/aes.h index cf7b462092..edff275b7a 100644 --- a/libavutil/aes.h +++ b/libavutil/aes.h @@ -23,17 +23,27 @@ #include <stdint.h> +#include "attributes.h" +#include "version.h" + /** * @defgroup lavu_aes AES * @ingroup lavu_crypto * @{ */ -extern const int av_aes_size; +#if FF_API_CONTEXT_SIZE +extern attribute_deprecated const int av_aes_size; +#endif struct AVAES; /** + * Allocate an AVAES context. + */ +struct AVAES *av_aes_alloc(void); + +/** * Initialize an AVAES context. * @param key_bits 128, 192 or 256 * @param decrypt 0 for encryption, 1 for decryption |