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