Commit 44d02835 authored by diego's avatar diego

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14439 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 17b5c6f5
...@@ -28,11 +28,6 @@ see http://en.wikipedia.org/wiki/Mersenne_twister for an explanation of this alg ...@@ -28,11 +28,6 @@ see http://en.wikipedia.org/wiki/Mersenne_twister for an explanation of this alg
#include <stdio.h> #include <stdio.h>
#include "random.h" #include "random.h"
#ifdef TEST
#include "common.h"
#include "log.h"
#endif
/* Period parameters */ /* Period parameters */
#define M 397 #define M 397
...@@ -80,6 +75,8 @@ void av_random_generate_untempered_numbers(AVRandomState *state) ...@@ -80,6 +75,8 @@ void av_random_generate_untempered_numbers(AVRandomState *state)
} }
#ifdef TEST #ifdef TEST
#include "common.h"
#include "log.h"
void main(void) void main(void)
{ {
int x=0; int x=0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment