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

reimar subversion
Mon Jun 28 19:19:55 CEST 2010


Author: reimar
Date: Mon Jun 28 19:19:55 2010
New Revision: 23856

Log:
Pass subshift an argument of the proper type.
No changes in generated code.

Modified:
   trunk/libavutil/aes.c

Modified: trunk/libavutil/aes.c
==============================================================================
--- trunk/libavutil/aes.c	Mon Jun 28 19:11:48 2010	(r23855)
+++ trunk/libavutil/aes.c	Mon Jun 28 19:19:55 2010	(r23856)
@@ -177,7 +177,7 @@ int av_aes_init(AVAES *a, const uint8_t 
         for(i=1; i<rounds; i++){
             uint8_t tmp[3][16];
             memcpy(tmp[2], a->round_key[i][0], 16);
-            subshift(tmp[1], 0, sbox);
+            subshift(&tmp[1], 0, sbox);
             mix(tmp, dec_multbl, 1, 3);
             memcpy(a->round_key[i][0], tmp[0], 16);
         }



More information about the ffmpeg-cvslog mailing list