OSDN Git Service

Fix test program compilation, random() needs to be undefined.
authorDiego Biurrun <diego@biurrun.de>
Tue, 8 Jan 2008 22:40:25 +0000 (22:40 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 8 Jan 2008 22:40:25 +0000 (22:40 +0000)
Originally committed as revision 11470 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/aes.c

index c2df3b2..5030dac 100644 (file)
@@ -194,6 +194,8 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt) {
 #ifdef TEST
 #include "log.h"
 
+#undef random
+
 int main(void){
     int i,j;
     AVAES ae, ad, b;