diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-01-15 01:05:40 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-01-15 01:05:40 +0000 |
commit | 347c27988d1924f795a6b30ae6d41e0b774a219f (patch) | |
tree | f117ccfce19d7b4a7394e9618e10ed3974399ea4 | |
parent | 975c88e30e7c2141dd088ef2b404ba7381120ba6 (diff) | |
download | ffmpeg-347c27988d1924f795a6b30ae6d41e0b774a219f.tar.gz |
check the last? entry written for detecting already initalized tables
Originally committed as revision 7527 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/aes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/aes.c b/libavutil/aes.c index 259e93fba5..13643e9e01 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -121,7 +121,7 @@ AVAES *av_aes_init(uint8_t *key, int key_bits, int decrypt) { uint8_t log8[256]; uint8_t alog8[512]; - if(!sbox[255]){ + if(!enc_multbl[4][1023]){ j=1; for(i=0; i<255; i++){ alog8[i]= |