X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Faes.h;h=edff275b7ad8e32b67bdd93ed5475e47494d9514;hb=9d3009c6c4b9b6734f07df7c88f6a42ded6cdf38;hp=cf7b462092764561253adf176a3517c17aa553e8;hpb=757cd8d876b18c07e00b53fd4e5c01bedc106d2e;p=ffmpeg diff --git a/libavutil/aes.h b/libavutil/aes.h index cf7b4620927..edff275b7ad 100644 --- a/libavutil/aes.h +++ b/libavutil/aes.h @@ -23,16 +23,26 @@ #include +#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