aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-05-13 19:14:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-05-13 19:14:18 +0000
commit79d4c96a1a708f8da145121cee118c7bdd596344 (patch)
tree1a2e1350293e0db3d770f578dd55c98ebcfc9cdd
parent25e4f8aaeee05a963146ebf8cd1d01817dba91d6 (diff)
downloadffmpeg-79d4c96a1a708f8da145121cee118c7bdd596344.tar.gz
correct last element inited check
Originally committed as revision 9018 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavutil/aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/aes.c b/libavutil/aes.c
index 55ae0d4f39..b29e735d49 100644
--- a/libavutil/aes.c
+++ b/libavutil/aes.c
@@ -128,7 +128,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) {
uint8_t log8[256];
uint8_t alog8[512];
- if(!enc_multbl[4][1023]){
+ if(!enc_multbl[0][sizeof(enc_multbl)/sizeof(enc_multbl[0][0])-1]){
j=1;
for(i=0; i<255; i++){
alog8[i]=