diff md5.c @ 427:e7192ff1857d libavutil

Fix a couple of 'return type defaults to int' and 'control reaches end of non-void function' warnings in test code.
author diego
date Thu, 10 Jan 2008 10:35:37 +0000
parents f9a4c04ebb0e
children 63e1f9c749dd
line wrap: on
line diff
--- a/md5.c	Tue Jan 08 22:54:49 2008 +0000
+++ b/md5.c	Thu Jan 10 10:35:37 2008 +0000
@@ -164,7 +164,7 @@
 #ifdef TEST
 #include <stdio.h>
 #undef printf
-main(void){
+int main(void){
     uint64_t md5val;
     int i;
     uint8_t in[1000];
@@ -176,5 +176,7 @@
     av_md5_sum( (uint8_t*)&md5val, in,  65); printf("%"PRId64"\n", md5val);
     for(i=0; i<1000; i++) in[i]= i % 127;
     av_md5_sum( (uint8_t*)&md5val, in,  999); printf("%"PRId64"\n", md5val);
+
+    return 0;
 }
 #endif