aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-03-06 00:48:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-03-06 00:48:02 +0000
commitbc3057f499a00000f18705bc1fa8719ed7d9daed (patch)
treee21bea6e3ee86184ba96a522bae64036f9c66755 /libavformat
parent2e51dedd24203ef1631d1dfcc68543e8f693a80b (diff)
downloadffmpeg-bc3057f499a00000f18705bc1fa8719ed7d9daed.tar.gz
Vertical align.
Originally committed as revision 17847 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/timefilter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/timefilter.c b/libavformat/timefilter.c
index 3657222acd..e1cff8d5e5 100644
--- a/libavformat/timefilter.c
+++ b/libavformat/timefilter.c
@@ -59,15 +59,15 @@ double ff_timefilter_update(TimeFilter *self, double system_time, double period)
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;