OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c562ba4
)
rational-test: Add proper main() declaration to fix gcc warnings.
author
Diego Biurrun
<diego@biurrun.de>
Sun, 26 Jun 2011 22:29:32 +0000
(
00:29
+0200)
committer
Diego Biurrun
<diego@biurrun.de>
Wed, 29 Jun 2011 23:35:47 +0000
(
01:35
+0200)
libavutil/rational.c
patch
|
blob
|
history
diff --git
a/libavutil/rational.c
b/libavutil/rational.c
index
b2b05cc
..
ac5111b
100644
(file)
--- a/
libavutil/rational.c
+++ b/
libavutil/rational.c
@@
-135,7
+135,8
@@
int av_find_nearest_q_idx(AVRational q, const AVRational* q_list)
}
#ifdef TEST
-main(){
+int main(void)
+{
AVRational a,b;
for(a.num=-2; a.num<=2; a.num++){
for(a.den=-2; a.den<=2; a.den++){
@@
-151,5
+152,6
@@
main(){
}
}
}
+ return 0;
}
#endif