From 347c27988d1924f795a6b30ae6d41e0b774a219f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 15 Jan 2007 01:05:40 +0000 Subject: [PATCH] check the last? entry written for detecting already initalized tables Originally committed as revision 7527 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavutil/aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]=