summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-03-06 00:55:50 +0000
committerDiego Biurrun <diego@biurrun.de>2009-03-06 00:55:50 +0000
commit6d16718e5d0b31a1f0b039576e995318aec50ffc (patch)
tree0c1e3a70933bd7bb53ea2b3ec4f1da263cf98581
parent5a92cc663c48a4229dd0d6701c1364720a30e44c (diff)
cosmetics: Fix test program warnings.
Originally committed as revision 17849 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/timefilter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/timefilter.c b/libavformat/timefilter.c
index e1cff8d5e5..79d417aaf6 100644
--- a/libavformat/timefilter.c
+++ b/libavformat/timefilter.c
@@ -74,7 +74,8 @@ double ff_timefilter_update(TimeFilter *self, double system_time, double period)
}
#ifdef TEST
-main(){
+int main(void)
+{
double n0,n1;
#define SAMPLES 1000
double ideal[SAMPLES];
@@ -118,5 +119,6 @@ main(){
}
printf("\n");
}
+ return 0;
}
#endif