mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
00c6161d5a
commit
cf160899dd
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue