mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 01:17:47 +00:00
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:
parent
c33820e52e
commit
f3635240b7
5 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue