changeset 5379:e9f8a337c5ce libavcodec

Fix the compilation of dct-test, fft-test and motion-test which are using random().
author takis
date Thu, 19 Jul 2007 08:46:28 +0000
parents d7fde453d208
children 389366aa3458
files dct-test.c fft-test.c motion-test.c
diffstat 3 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dct-test.c	Thu Jul 19 02:21:14 2007 +0000
+++ b/dct-test.c	Thu Jul 19 08:46:28 2007 +0000
@@ -42,6 +42,7 @@
 #endif
 
 #undef printf
+#undef random
 
 void *fast_memcpy(void *a, const void *b, size_t c){return memcpy(a,b,c);};
 
--- a/fft-test.c	Thu Jul 19 02:21:14 2007 +0000
+++ b/fft-test.c	Thu Jul 19 08:46:28 2007 +0000
@@ -31,6 +31,7 @@
 #include <string.h>
 
 #undef exit
+#undef random
 
 int mm_flags;
 
--- a/motion-test.c	Thu Jul 19 02:21:14 2007 +0000
+++ b/motion-test.c	Thu Jul 19 08:46:28 2007 +0000
@@ -35,6 +35,7 @@
 
 #undef exit
 #undef printf
+#undef random
 
 #define WIDTH 64
 #define HEIGHT 64