diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-07-27 21:05:12 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-07-27 21:05:12 +0000 |
commit | 00c6161d5a7ef1b3be683693ef21ef7b62cde4d9 (patch) | |
tree | 9a36e5d9760acc9290fa7fd1e74767d410f52cdb | |
parent | af274fd1e13255332202ade68888bd42733e1546 (diff) | |
download | ffmpeg-00c6161d5a7ef1b3be683693ef21ef7b62cde4d9.tar.gz |
Move #includes, which are only used in the test program, below the #ifdef
surrounding the test program to save an #ifdef at the top of the file.
Originally committed as revision 14439 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/random.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libavutil/random.c b/libavutil/random.c index 2f73c19755..d85b82044c 100644 --- a/libavutil/random.c +++ b/libavutil/random.c @@ -28,11 +28,6 @@ see http://en.wikipedia.org/wiki/Mersenne_twister for an explanation of this alg #include <stdio.h> #include "random.h" -#ifdef TEST -#include "common.h" -#include "log.h" -#endif - /* Period parameters */ #define M 397 @@ -80,6 +75,8 @@ void av_random_generate_untempered_numbers(AVRandomState *state) } #ifdef TEST +#include "common.h" +#include "log.h" void main(void) { int x=0; |