aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-plugins80/files/patch-gst_level_filter.func
blob: 3b154eb4bdc1bdc449af34f5edb94e258996a5ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- gst/level/filter.func.orig	Mon Oct 13 22:32:12 2003
+++ gst/level/filter.func	Mon Oct 13 22:32:21 2003
@@ -10,9 +10,9 @@
   register double square = 0.0;		/* Square */
   register double PSS = 0.0;		/* Peak Square Sample */
 
-  *CS = 0.0;      /* Cumulative Square for this block */
-
   gdouble normalizer = (double) (1 << resolution);
+
+  *CS = 0.0;      /* Cumulative Square for this block */
 
   /*
    * process data here