From cc61f96f8ae15490593972efecef1f7a3fda7ca0 Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Thu, 19 Jul 2007 08:46:28 +0000 Subject: 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 --- libavcodec/dct-test.c | 1 + libavcodec/fft-test.c | 1 + libavcodec/motion-test.c | 1 + 3 files changed, 3 insertions(+) (limited to 'libavcodec') 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 #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 -- cgit v1.2.3