[FFmpeg-cvslog] r17847 - trunk/libavformat/timefilter.c
michael
subversion
Fri Mar 6 01:48:02 CET 2009
Author: michael
Date: Fri Mar 6 01:48:02 2009
New Revision: 17847
Log:
Vertical align.
Modified:
trunk/libavformat/timefilter.c
Modified: trunk/libavformat/timefilter.c
==============================================================================
--- trunk/libavformat/timefilter.c Fri Mar 6 01:47:16 2009 (r17846)
+++ trunk/libavformat/timefilter.c Fri Mar 6 01:48:02 2009 (r17847)
@@ -59,15 +59,15 @@ double ff_timefilter_update(TimeFilter *
self->count++;
if (self->count==1) {
/// init loop
- self->cycle_time = system_time;
+ self->cycle_time = system_time;
} else {
double loop_error;
self->cycle_time += self->clock_period * period;
/// calculate loop error
- loop_error = system_time - self->cycle_time;
+ loop_error = system_time - self->cycle_time;
/// update loop
- self->cycle_time += FFMAX(self->feedback2_factor, 1.0/(self->count)) * loop_error;
+ self->cycle_time += FFMAX(self->feedback2_factor, 1.0/(self->count)) * loop_error;
self->clock_period += self->feedback3_factor * loop_error / period;
}
return self->cycle_time;
More information about the ffmpeg-cvslog
mailing list