[Ffmpeg-cvslog] r7472 - trunk/libavutil/aes.c

michael subversion
Sun Jan 14 14:47:15 CET 2007


Author: michael
Date: Sun Jan 14 14:47:15 2007
New Revision: 7472

Modified:
   trunk/libavutil/aes.c

Log:
cosmetic


Modified: trunk/libavutil/aes.c
==============================================================================
--- trunk/libavutil/aes.c	(original)
+++ trunk/libavutil/aes.c	Sun Jan 14 14:47:15 2007
@@ -153,10 +153,9 @@
 
         for(j = 1; j < KC; j++){
             if(KC != 8 || j != KC/2)
-                for(i = 0; i < 4; i++) tk[j][i] ^= tk[j-1][i];
+                for(i = 0; i < 4; i++) tk[j][i] ^=      tk[j-1][i];
             else
-                for(i = 0; i < 4; i++)
-                    tk[KC/2][i] ^= sbox[tk[KC/2 - 1][i]];
+                for(i = 0; i < 4; i++) tk[j][i] ^= sbox[tk[j-1][i]];
         }
     }
     return a;




More information about the ffmpeg-cvslog mailing list