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
This commit is contained in:
Jens Granseuer 2006-05-08 10:59:05 +00:00 committed by Wim Taymans
parent 9f6377ff0d
commit 422dc0a7e5
3 changed files with 14 additions and 2 deletions

View file

@ -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):

View 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);

View 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);