summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--ext/gdk_pixbuf/pixbufscale.c4
-rw-r--r--gst/wavparse/gstwavparse.c4
3 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index beafb5d6..30c57822 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-05-08 Wim Taymans <wim@fluendo.com>
+
+ Patch by: Jens Granseuer <jensgr at gmx dot net>
+
+ * ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_init):
+ * gst/wavparse/gstwavparse.c: (gst_wavparse_dispose):
+ C89 compliance fixes. Fixes #340980
+
2006-05-06 Tim-Philipp Müller <tim at centricular dot net>
* ext/flac/gstflacdec.c: (gst_flac_dec_loop):
diff --git a/ext/gdk_pixbuf/pixbufscale.c b/ext/gdk_pixbuf/pixbufscale.c
index 0d6238b9..3e011b8f 100644
--- a/ext/gdk_pixbuf/pixbufscale.c
+++ b/ext/gdk_pixbuf/pixbufscale.c
@@ -170,8 +170,10 @@ static void
gst_pixbufscale_init (GstPixbufScale * pixbufscale,
GstPixbufScaleClass * kclass)
{
+ GstBaseTransform *trans;
+
GST_DEBUG_OBJECT (pixbufscale, "_init");
- GstBaseTransform *trans = GST_BASE_TRANSFORM (pixbufscale);
+ trans = GST_BASE_TRANSFORM (pixbufscale);
gst_pad_set_event_function (trans->srcpad, gst_pixbufscale_handle_src_event);
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index c9d75a80..7f04622e 100644
--- a/gst/wavparse/gstwavparse.c
+++ b/gst/wavparse/gstwavparse.c
@@ -205,8 +205,10 @@ gst_wavparse_class_init (GstWavParseClass * klass)
static void
gst_wavparse_dispose (GObject * object)
{
+ GstWavParse *wav;
+
GST_DEBUG ("WAV: Dispose\n");
- GstWavParse *wav = GST_WAVPARSE (object);
+ wav = GST_WAVPARSE (object);
if (wav->adapter) {
g_object_unref (wav->adapter);