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; iround_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); }