diff aes.h @ 241:998d097d926d libavutil

make key parameter const
author bcoudurier
date Sun, 11 Feb 2007 16:57:17 +0000
parents 6ff860ccdcff
children 53126d45b095
line wrap: on
line diff
--- a/aes.h	Sun Feb 11 12:50:33 2007 +0000
+++ b/aes.h	Sun Feb 11 16:57:17 2007 +0000
@@ -30,7 +30,7 @@
  * @param key_bits 128, 192 or 256
  * @param decrypt 0 for encryption, 1 for decryption
  */
-int av_aes_init(struct AVAES *a, uint8_t *key, int key_bits, int decrypt);
+int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt);
 
 /**
  * encrypts / decrypts.