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

michael subversion
Sun Jan 14 20:58:41 CET 2007


Author: michael
Date: Sun Jan 14 20:58:41 2007
New Revision: 7498

Modified:
   trunk/libavutil/aes.c

Log:
fix 2 warnings


Modified: trunk/libavutil/aes.c
==============================================================================
--- trunk/libavutil/aes.c	(original)
+++ trunk/libavutil/aes.c	Sun Jan 14 20:58:41 2007
@@ -99,7 +99,7 @@
     crypt(a, 2, sbox, enc_multbl);
 }
 
-static init_multbl2(uint8_t tbl[1024], int c[4], uint8_t *log8, uint8_t *alog8, uint8_t *sbox){
+static void init_multbl2(uint8_t tbl[1024], int c[4], uint8_t *log8, uint8_t *alog8, uint8_t *sbox){
     int i;
     for(i=0; i<1024; i++){
         int x= sbox[i/4];
@@ -192,7 +192,7 @@
 #ifdef TEST
 
 int main(){
-    int i,j,k;
+    int i,j;
     AVAES *ae= av_aes_init("PI=3.141592654..", 128, 0);
     AVAES *ad= av_aes_init("PI=3.141592654..", 128, 1);
     uint8_t zero[16]= {0};




More information about the ffmpeg-cvslog mailing list