From 6d16718e5d0b31a1f0b039576e995318aec50ffc Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 6 Mar 2009 00:55:50 +0000 Subject: [PATCH] cosmetics: Fix test program warnings. Originally committed as revision 17849 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/timefilter.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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