From 6572e1a4d28906eba31f5153392645c9d508d904 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 15 Jan 2007 01:32:06 +0000 Subject: remove dependancy on *malloc() Originally committed as revision 7528 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/aes.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libavutil/aes.h') 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 */ -- cgit v1.2.3