Browse Source

Fix des-test compilation.

Originally committed as revision 12889 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun 17 years ago
parent
commit
93826f561d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      libavutil/des.c

+ 3 - 0
libavutil/des.c

@@ -278,6 +278,9 @@ uint64_t ff_des_encdec(uint64_t in, uint64_t key, int decrypt) {
 }
 
 #ifdef TEST
+#undef printf
+#undef rand
+#undef srand
 #include <stdlib.h>
 #include <stdio.h>
 #include <sys/time.h>