summaryrefslogtreecommitdiffstats
path: root/gst/wavparse
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 /gst/wavparse
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
Diffstat (limited to 'gst/wavparse')
-rw-r--r--gst/wavparse/gstwavparse.c4
1 files changed, 3 insertions, 1 deletions
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);