aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/timefilter.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-01-07 19:07:42 +0100
committerDiego Biurrun <diego@biurrun.de>2012-01-07 22:13:07 +0100
commit3dc99a18d4ae2b9bcc96e00b7f589128717aec64 (patch)
tree895f83e64aae6cdea16c72998257634424866042 /libavdevice/timefilter.c
parent079688b6cbd2944ab84d3539efcde161aa090fac (diff)
downloadffmpeg-3dc99a18d4ae2b9bcc96e00b7f589128717aec64.tar.gz
cosmetics: drop some pointless parentheses
Diffstat (limited to 'libavdevice/timefilter.c')
-rw-r--r--libavdevice/timefilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/timefilter.c b/libavdevice/timefilter.c
index 332d33b5e8..136661a541 100644
--- a/libavdevice/timefilter.c
+++ b/libavdevice/timefilter.c
@@ -69,7 +69,7 @@ double ff_timefilter_update(TimeFilter *self, double system_time, double period)
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;