comparison aes.c @ 698:8e9c6361e909 libavutil

Make AES test program compile again: Setting the av_log_level variable needs to be replaced by a call to av_log_set_level().
author diego
date Fri, 20 Mar 2009 00:18:46 +0000
parents 0a51400a64c9
children ae6e96434bec
comparison
equal deleted inserted replaced
697:1ca023f2f39d 698:8e9c6361e909
210 {0x6d, 0x25, 0x1e, 0x69, 0x44, 0xb0, 0x51, 0xe0, 0x4e, 0xaa, 0x6f, 0xb4, 0xdb, 0xf7, 0x84, 0x65}}; 210 {0x6d, 0x25, 0x1e, 0x69, 0x44, 0xb0, 0x51, 0xe0, 0x4e, 0xaa, 0x6f, 0xb4, 0xdb, 0xf7, 0x84, 0x65}};
211 uint8_t temp[16]; 211 uint8_t temp[16];
212 212
213 av_aes_init(&ae, "PI=3.141592654..", 128, 0); 213 av_aes_init(&ae, "PI=3.141592654..", 128, 0);
214 av_aes_init(&ad, "PI=3.141592654..", 128, 1); 214 av_aes_init(&ad, "PI=3.141592654..", 128, 1);
215 av_log_level= AV_LOG_DEBUG; 215 av_log_set_level(AV_LOG_DEBUG);
216 216
217 for(i=0; i<2; i++){ 217 for(i=0; i<2; i++){
218 av_aes_init(&b, rkey[i], 128, 1); 218 av_aes_init(&b, rkey[i], 128, 1);
219 av_aes_crypt(&b, temp, rct[i], 1, NULL, 1); 219 av_aes_crypt(&b, temp, rct[i], 1, NULL, 1);
220 for(j=0; j<16; j++) 220 for(j=0; j<16; j++)