summaryrefslogtreecommitdiff
path: root/libavutil/aes.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-06-28 17:19:55 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2010-06-28 17:19:55 +0000
commit2ad4a3bc78e3fb1fac9cb626b5becaeb1aa062b8 (patch)
tree0406e1ad6220735e9be4625290b1c40abaf52a37 /libavutil/aes.c
parent17c78b087aa470bbfd18068bbe475dc95d4b7fd4 (diff)
downloadffmpeg-2ad4a3bc78e3fb1fac9cb626b5becaeb1aa062b8.tar.gz
Pass subshift an argument of the proper type.
No changes in generated code. Originally committed as revision 23856 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 e21599ab95..da4ecbbd97 100644
--- a/libavutil/aes.c
+++ b/libavutil/aes.c
@@ -177,7 +177,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) {
for(i=1; i<rounds; i++){
uint8_t tmp[3][16];
memcpy(tmp[2], a->round_key[i][0], 16);
- subshift(tmp[1], 0, sbox);
+ subshift(&tmp[1], 0, sbox);
mix(tmp, dec_multbl, 1, 3);
memcpy(a->round_key[i][0], tmp[0], 16);
}