Change return type of main function to int to avoid a warning.

Originally committed as revision 14440 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2008-07-27 21:10:32 +00:00
parent 00c6161d5a
commit cf160899dd
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,7 @@ void av_random_generate_untempered_numbers(AVRandomState *state)
#ifdef TEST #ifdef TEST
#include "common.h" #include "common.h"
#include "log.h" #include "log.h"
void main(void) int main(void)
{ {
int x=0; int x=0;
int i, j; int i, j;
@ -92,5 +92,6 @@ void main(void)
STOP_TIMER("624 calls of av_random"); STOP_TIMER("624 calls of av_random");
} }
av_log(NULL, AV_LOG_ERROR, "final value:%X\n", x); av_log(NULL, AV_LOG_ERROR, "final value:%X\n", x);
return 0;
} }
#endif #endif