diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c index cfd5bce941..139de1f759 100644 --- a/gst/level/gstlevel.c +++ b/gst/level/gstlevel.c @@ -677,7 +677,7 @@ gst_level_transform_ip (GstBaseTransform * trans, GstBuffer * in) filter->decay_peak_age[i] = G_GINT64_CONSTANT (0); } } - in_data += ((block_int_size * bps) - bps); + in_data += block_size * bps; filter->num_frames += block_size; num_frames -= block_size;