diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-01-10 10:35:37 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-01-10 10:35:37 +0000 |
commit | f3635240b77bd838304320df4a2b84a2de94130c (patch) | |
tree | 250751a9847d383e4a75f559eb9d08513feb73ce /libavutil/md5.c | |
parent | c33820e52e8829668ef59b7ead6acee09558504f (diff) | |
download | ffmpeg-f3635240b77bd838304320df4a2b84a2de94130c.tar.gz |
Fix a couple of 'return type defaults to int' and 'control reaches end of
non-void function' warnings in test code.
Originally committed as revision 11491 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/md5.c')
-rw-r--r-- | libavutil/md5.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/md5.c b/libavutil/md5.c index e31b102286..03c09acbe7 100644 --- a/libavutil/md5.c +++ b/libavutil/md5.c @@ -164,7 +164,7 @@ void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len){ #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 @@ main(void){ 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 |