C89 compliance fixes. Fixes #340980
authorJens Granseuer <jensgr@gmx.net>
Mon, 8 May 2006 10:59:05 +0000 (10:59 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 8 May 2006 10:59:05 +0000 (10:59 +0000)
Original commit message from CVS:
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

ChangeLog
ext/gdk_pixbuf/pixbufscale.c
gst/wavparse/gstwavparse.c

index beafb5d..30c5782 100644 (file)
--- 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):
index 0d6238b..3e011b8 100644 (file)
@@ -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);
 
index c9d75a8..7f04622 100644 (file)
@@ -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);