projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00c6161
)
Change return type of main function to int to avoid a warning.
author
Diego Biurrun
<diego@biurrun.de>
Sun, 27 Jul 2008 21:10:32 +0000
(21:10 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Sun, 27 Jul 2008 21:10:32 +0000
(21:10 +0000)
Originally committed as revision 14440 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/random.c
patch
|
blob
|
history
diff --git
a/libavutil/random.c
b/libavutil/random.c
index d85b82044c52eeecb24ed8e10d2c37a8c3ec0801..0d31e8ad8b7222c273e77e50e8c5d00bc7bca7c2 100644
(file)
--- a/
libavutil/random.c
+++ b/
libavutil/random.c
@@
-77,7
+77,7
@@
void av_random_generate_untempered_numbers(AVRandomState *state)
#ifdef TEST
#include "common.h"
#include "log.h"
-
void
main(void)
+
int
main(void)
{
int x=0;
int i, j;
@@
-92,5
+92,6
@@
void main(void)
STOP_TIMER("624 calls of av_random");
}
av_log(NULL, AV_LOG_ERROR, "final value:%X\n", x);
+ return 0;
}
#endif