Mercurial > libavutil.hg
changeset 528:a5c3bc3dcd3e libavutil
Make the selftesting code use and compileable.
author | michael |
---|---|
date | Sun, 27 Jul 2008 20:50:24 +0000 |
parents | 6ebdeca51ff4 |
children | 98f03aca378b |
files | random.c random.h |
diffstat | 2 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/random.c Thu Jul 24 17:09:28 2008 +0000 +++ b/random.c Sun Jul 27 20:50:24 2008 +0000 @@ -28,9 +28,7 @@ #include <stdio.h> #include "random.h" -//#define DEBUG - -#ifdef DEBUG +#ifdef TEST #include "common.h" #include "log.h" #endif @@ -81,8 +79,8 @@ state->index = 0; } -#ifdef DEBUG -void av_benchmark_random(void) +#ifdef TEST +void main(void) { int x=0; int i, j;