diff aes.h @ 635:0a51400a64c9 libavutil

Add "const" to AES function arguments where possible without generating more warnings.
author reimar
date Wed, 28 Jan 2009 17:48:26 +0000
parents bd4052d9050c
children e34e8d654ded
line wrap: on
line diff
--- a/aes.h	Wed Jan 28 08:50:10 2009 +0000
+++ b/aes.h	Wed Jan 28 17:48:26 2009 +0000
@@ -42,6 +42,6 @@
  * @param iv initialization vector for CBC mode, if NULL then ECB will be used
  * @param decrypt 0 for encryption, 1 for decryption
  */
-void av_aes_crypt(struct AVAES *a, uint8_t *dst, uint8_t *src, int count, uint8_t *iv, int decrypt);
+void av_aes_crypt(struct AVAES *a, uint8_t *dst, const uint8_t *src, int count, uint8_t *iv, int decrypt);
 
 #endif /* AVUTIL_AES_H */