[FFmpeg-cvslog] r9754 - in trunk/libavcodec: dct-test.c fft-test.c motion-test.c

takis subversion
Thu Jul 19 10:46:28 CEST 2007


Author: takis
Date: Thu Jul 19 10:46:28 2007
New Revision: 9754

Log:
Fix the self tests which are contained in some codecs and are using random().


Modified:
   trunk/libavcodec/dct-test.c
   trunk/libavcodec/fft-test.c
   trunk/libavcodec/motion-test.c

Modified: trunk/libavcodec/dct-test.c
==============================================================================
--- trunk/libavcodec/dct-test.c	(original)
+++ trunk/libavcodec/dct-test.c	Thu Jul 19 10:46:28 2007
@@ -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);};
 

Modified: trunk/libavcodec/fft-test.c
==============================================================================
--- trunk/libavcodec/fft-test.c	(original)
+++ trunk/libavcodec/fft-test.c	Thu Jul 19 10:46:28 2007
@@ -31,6 +31,7 @@
 #include <string.h>
 
 #undef exit
+#undef random
 
 int mm_flags;
 

Modified: trunk/libavcodec/motion-test.c
==============================================================================
--- trunk/libavcodec/motion-test.c	(original)
+++ trunk/libavcodec/motion-test.c	Thu Jul 19 10:46:28 2007
@@ -35,6 +35,7 @@
 
 #undef exit
 #undef printf
+#undef random
 
 #define WIDTH 64
 #define HEIGHT 64




More information about the ffmpeg-cvslog mailing list