Commit cf160899 authored by Diego Biurrun's avatar Diego Biurrun

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

Originally committed as revision 14440 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 00c6161d
...@@ -77,7 +77,7 @@ void av_random_generate_untempered_numbers(AVRandomState *state) ...@@ -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) ...@@ -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
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