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/integer.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/integer.c')
-rw-r--r-- | libavutil/integer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/integer.c b/libavutil/integer.c index 55dde412d4..a7ab5c97fb 100644 --- a/libavutil/integer.c +++ b/libavutil/integer.c @@ -171,7 +171,7 @@ const uint8_t ff_log2_tab[256]={ 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7 }; -main(void){ +int main(void){ int64_t a,b; for(a=7; a<256*256*256; a+=13215){ @@ -192,5 +192,6 @@ main(void){ assert(av_i2int(av_div_i(ai,bi)) == a/b); } } + return 0; } #endif |