aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/aes.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-02-11 16:57:17 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-02-11 16:57:17 +0000
commit57d7b036ea40267de381bb1ed58aeb26c23b9c63 (patch)
treedb94ade24fdf2a7e90040b5a451b8eb7247fd062 /libavutil/aes.c
parentecfc4f44369553be8671beba2a8a5b295b09975a (diff)
downloadffmpeg-57d7b036ea40267de381bb1ed58aeb26c23b9c63.tar.gz
make key parameter const
Originally committed as revision 7935 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/aes.c')
-rw-r--r--libavutil/aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/aes.c b/libavutil/aes.c
index 611e3f4e4f..55ae0d4f39 100644
--- a/libavutil/aes.c
+++ b/libavutil/aes.c
@@ -120,7 +120,7 @@ static void init_multbl2(uint8_t tbl[1024], int c[4], uint8_t *log8, uint8_t *al
}
// this is based on the reference AES code by Paulo Barreto and Vincent Rijmen
-int av_aes_init(AVAES *a, uint8_t *key, int key_bits, int decrypt) {
+int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) {
int i, j, t, rconpointer = 0;
uint8_t tk[8][4];
int KC= key_bits>>5;