From 9b1bffb45607c0cdfc80d1c856d331789789cd34 Mon Sep 17 00:00:00 2001 From: Jens Granseuer Date: Wed, 3 Jan 2007 16:41:10 +0000 Subject: Fix build with gcc-2.x (declare variables at the beginning of a block etc.). Fixes #391971. Original commit message from CVS: Patch by: Jens Granseuer * ext/xvid/gstxvidenc.c: (gst_xvidenc_encode), (gst_xvidenc_get_property): * gst/filter/gstbpwsinc.c: (bpwsinc_transform_ip): * gst/filter/gstfilter.c: (plugin_init): * gst/filter/gstiir.c: (iir_transform_ip): * gst/filter/gstlpwsinc.c: (lpwsinc_transform_ip): * gst/modplug/gstmodplug.cc: * gst/nuvdemux/gstnuvdemux.c: (gst_nuv_demux_header_load), (gst_nuv_demux_stream_extend_header): Fix build with gcc-2.x (declare variables at the beginning of a block etc.). Fixes #391971. --- gst/modplug/gstmodplug.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/modplug') diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc index bc31b4a4..a4ae1486 100644 --- a/gst/modplug/gstmodplug.cc +++ b/gst/modplug/gstmodplug.cc @@ -217,7 +217,7 @@ gst_modplug_class_init (GstModPlugClass * klass) "noise reduction", DEFAULT_NOISE_REDUCTION, (GParamFlags) G_PARAM_READWRITE)); - gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_modplug_change_state); + gstelement_class->change_state = gst_modplug_change_state; } static void -- cgit v1.2.1