changeset 337:980e486fcda1 libavutil

correct last element inited check
author michael
date Sun, 13 May 2007 19:14:18 +0000
parents f340106d09ac
children 76077bb41478
files aes.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/aes.c	Thu May 10 18:28:44 2007 +0000
+++ b/aes.c	Sun May 13 19:14:18 2007 +0000
@@ -128,7 +128,7 @@
     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]=