[FFmpeg-cvslog] r14439 - trunk/libavutil/random.c

diego subversion
Sun Jul 27 23:05:12 CEST 2008


Author: diego
Date: Sun Jul 27 23:05:12 2008
New Revision: 14439

Log:
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.


Modified:
   trunk/libavutil/random.c

Modified: trunk/libavutil/random.c
==============================================================================
--- trunk/libavutil/random.c	(original)
+++ trunk/libavutil/random.c	Sun Jul 27 23:05:12 2008
@@ -28,11 +28,6 @@ see http://en.wikipedia.org/wiki/Mersenn
 #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_numbe
 }
 
 #ifdef TEST
+#include "common.h"
+#include "log.h"
 void main(void)
 {
     int x=0;




More information about the ffmpeg-cvslog mailing list