aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/aes.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-01-15 01:32:06 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-01-15 01:32:06 +0000
commit6572e1a4d28906eba31f5153392645c9d508d904 (patch)
treed1c0c4034be22c6cc5c0aed2c7fec1939546e12b /libavutil/aes.h
parent347c27988d1924f795a6b30ae6d41e0b774a219f (diff)
downloadffmpeg-6572e1a4d28906eba31f5153392645c9d508d904.tar.gz
remove dependancy on *malloc()
Originally committed as revision 7528 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/aes.h')
-rw-r--r--libavutil/aes.h6
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 */