[FFmpeg-cvslog] r9018 - trunk/libavutil/aes.c

michael subversion
Sun May 13 21:14:19 CEST 2007


Author: michael
Date: Sun May 13 21:14:18 2007
New Revision: 9018

Log:
correct last element inited check


Modified:
   trunk/libavutil/aes.c

Modified: trunk/libavutil/aes.c
==============================================================================
--- trunk/libavutil/aes.c	(original)
+++ trunk/libavutil/aes.c	Sun May 13 21:14:18 2007
@@ -128,7 +128,7 @@ int av_aes_init(AVAES *a, const uint8_t 
     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]=




More information about the ffmpeg-cvslog mailing list