comparison timefilter.c @ 4660:687695aeadca libavformat

cosmetics: Fix test program warnings.
author diego
date Fri, 06 Mar 2009 00:55:50 +0000
parents 0004dea93e16
children 689b200f207f
comparison
equal deleted inserted replaced
4659:0004dea93e16 4660:687695aeadca
72 } 72 }
73 return self->cycle_time; 73 return self->cycle_time;
74 } 74 }
75 75
76 #ifdef TEST 76 #ifdef TEST
77 main(){ 77 int main(void)
78 {
78 double n0,n1; 79 double n0,n1;
79 #define SAMPLES 1000 80 #define SAMPLES 1000
80 double ideal[SAMPLES]; 81 double ideal[SAMPLES];
81 double samples[SAMPLES]; 82 double samples[SAMPLES];
82 for(n0= 0; n0<40; n0=2*n0+1){ 83 for(n0= 0; n0<40; n0=2*n0+1){
116 }while(better); 117 }while(better);
117 printf(" [%f %f %f]", bestpar0, bestpar1, best_error); 118 printf(" [%f %f %f]", bestpar0, bestpar1, best_error);
118 } 119 }
119 printf("\n"); 120 printf("\n");
120 } 121 }
122 return 0;
121 } 123 }
122 #endif 124 #endif