[Gstreamer-bugs] [Bug 128178] New - Patch for gcc 2.95.3
bugzilla-daemon at widget.gnome.org
bugzilla-daemon at widget.gnome.org
Sat Nov 29 10:42:19 PST 2003
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=128178
Changed by frankm at hiwaay.net.
--- shadow/128178 Sat Nov 29 13:42:19 2003
+++ shadow/128178.tmp.7032 Sat Nov 29 13:42:19 2003
@@ -0,0 +1,38 @@
+Bug#: 128178
+Product: GStreamer
+Version: 0.6.4
+OS: Linux
+OS Details: gcc 2.95.3
+Status: NEW
+Resolution:
+Severity: normal
+Priority: Normal
+Component: gst-plugins
+AssignedTo: gstreamer-maint at bugzilla.gnome.org
+ReportedBy: frankm at hiwaay.net
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL:
+Summary: Patch for gcc 2.95.3
+
+I had to make a small patch to get gst-plugins to compile with gcc-2.95.3:
+
+--- gst-plugins-0.6.4/gst/level/filter.func 2003-10-05
+16:46:21.000000000 +0
+000
++++ gst-plugins-0.6.4-mod/gst/level/filter.func 2003-11-29
+08:33:30.000000000 +0
+000
+@@ -9,10 +9,11 @@
+ 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;
+
+ *CS = 0.0; /* Cumulative Square for this block */
+
+- gdouble normalizer = (double) (1 << resolution);
++ normalizer = (double) (1 << resolution);
+
+ /*
+ * process data here
More information about the Gstreamer-bugs
mailing list