summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
Diffstat (limited to 'gst')
-rw-r--r--gst/level/gstlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c
index b8b99dcba..10fa10a4e 100644
--- a/gst/level/gstlevel.c
+++ b/gst/level/gstlevel.c
@@ -621,7 +621,7 @@ gst_level_transform_ip (GstBaseTransform * trans, GstBuffer * in)
gdouble falloff;
gdouble length; /* length of falloff time in seconds */
- length = (gdouble) (falloff_time / GST_SECOND);
+ length = (gdouble) falloff_time / (gdouble) GST_SECOND;
falloff_dB = filter->decay_peak_falloff * length;
falloff = pow (10, falloff_dB / -20.0);