aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 08:46:28 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 08:46:28 +0000
commitcc61f96f8ae15490593972efecef1f7a3fda7ca0 (patch)
tree8d1746dad4312e1eba75a5b67d02f7f6940dc26a /libavcodec
parent90c1d7b400458ef297e85afb0ab6915af8016f7d (diff)
downloadffmpeg-cc61f96f8ae15490593972efecef1f7a3fda7ca0.tar.gz
Fix the compilation of dct-test, fft-test and motion-test which are using
random(). Originally committed as revision 9754 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dct-test.c1
-rw-r--r--libavcodec/fft-test.c1
-rw-r--r--libavcodec/motion-test.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index ac997981da..451e92da75 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -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);};
diff --git a/libavcodec/fft-test.c b/libavcodec/fft-test.c
index 5a79c88b0e..725a814ca8 100644
--- a/libavcodec/fft-test.c
+++ b/libavcodec/fft-test.c
@@ -31,6 +31,7 @@
#include <string.h>
#undef exit
+#undef random
int mm_flags;
diff --git a/libavcodec/motion-test.c b/libavcodec/motion-test.c
index 76978e26a8..414c141de4 100644
--- a/libavcodec/motion-test.c
+++ b/libavcodec/motion-test.c
@@ -35,6 +35,7 @@
#undef exit
#undef printf
+#undef random
#define WIDTH 64
#define HEIGHT 64