1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

This commit is contained in:
Diego Biurrun 2011-06-27 00:29:32 +02:00
parent c562ba4c3d
commit 812f2376ee

View File

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