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
This commit is contained in:
Diego Biurrun 2008-01-10 10:35:37 +00:00
parent c33820e52e
commit f3635240b7
5 changed files with 10 additions and 4 deletions

View file

@ -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