rational-test: Add proper main() declaration to fix gcc warnings.

pull/2/head
Diego Biurrun 14 years ago
parent c562ba4c3d
commit 812f2376ee
  1. 4
      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

Loading…
Cancel
Save