diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-01-28 17:48:26 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-01-28 17:48:26 +0000 |
commit | 7b484a7a177b689f6f3ae8f16935dd47ff5120c3 (patch) | |
tree | 0ad09e62f3c7ad9d4dee8c3d9b1f989e15c22836 /libavutil/aes.h | |
parent | 0838cfdc8a10185604db5cd9d6bffad71279a0e8 (diff) | |
download | ffmpeg-7b484a7a177b689f6f3ae8f16935dd47ff5120c3.tar.gz |
Add "const" to AES function arguments where possible without generating
more warnings.
Originally committed as revision 16847 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/aes.h')
-rw-r--r-- | libavutil/aes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/aes.h b/libavutil/aes.h index c7a4aa0335..1ca853d930 100644 --- a/libavutil/aes.h +++ b/libavutil/aes.h @@ -42,6 +42,6 @@ int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt); * @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 */ |