summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Granseuer <jensgr@gmx.net>2006-05-08 10:59:05 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-05-08 10:59:05 +0000
commit422dc0a7e5b2da37e8ee4a8e9239769ca210b402 (patch)
tree9598819279cdf381392d85f901e10f6816ccadd9
parent9f6377ff0d0be274223523ac46e92c771408dfcf (diff)
C89 compliance fixes. Fixes #340980
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
-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);