[FFmpeg-cvslog] r14440 - trunk/libavutil/random.c

diego subversion
Sun Jul 27 23:10:33 CEST 2008


Author: diego
Date: Sun Jul 27 23:10:32 2008
New Revision: 14440

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


Modified:
   trunk/libavutil/random.c

Modified: trunk/libavutil/random.c
==============================================================================
--- trunk/libavutil/random.c	(original)
+++ trunk/libavutil/random.c	Sun Jul 27 23:10:32 2008
@@ -77,7 +77,7 @@ void av_random_generate_untempered_numbe
 #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




More information about the ffmpeg-cvslog mailing list