diff options
Diffstat (limited to 'libavutil/aes.h')
-rw-r--r-- | libavutil/aes.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavutil/aes.h b/libavutil/aes.h index 12e15501d3..7d777198cb 100644 --- a/libavutil/aes.h +++ b/libavutil/aes.h @@ -21,13 +21,15 @@ #ifndef AES_H #define AES_H +extern const int av_aes_size; + struct AVAES; /** - * creates a AVAES context, which can be freed with av_free() + * initalizes a AVAES context * @param key_bits 128, 192 or 256 * @param decrypt 0 for encryption, 1 for decryption */ -struct AVAES *av_aes_init(uint8_t *key, int key_bits, int decrypt); +int av_aes_init(struct AVAES *a, uint8_t *key, int key_bits, int decrypt); #endif /* AES_H */ |