pkgsrc/multimedia/gst-plugins/patches/patch-af
2004-01-26 11:48:04 +00:00

16 lines
554 B
Text

$NetBSD: patch-af,v 1.1.1.1 2004/01/26 11:48:04 jmmv Exp $
--- gst/level/filter.func.orig Sun Oct 5 18:46:21 2003
+++ gst/level/filter.func Sun Jan 25 16:31:31 2004
@@ -9,10 +9,9 @@
double squaresum = 0.0; /* square sum of the integer samples */
register double square = 0.0; /* Square */
register double PSS = 0.0; /* Peak Square Sample */
+ gdouble normalizer = (double) (1 << resolution);
*CS = 0.0; /* Cumulative Square for this block */
-
- gdouble normalizer = (double) (1 << resolution);
/*
* process data here