From: Jens Granseuer Date: Fri, 22 Jun 2007 20:23:18 +0000 (+0000) Subject: gst/: Build fixes for gcc-2.9x (no mid-block variable declarations etc.). X-Git-Tag: RELEASE-0_10_7~411 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c37fc2d3c23528c4ebf91298855c9156a1c61803;p=platform%2Fupstream%2Fgst-plugins-good.git gst/: Build fixes for gcc-2.9x (no mid-block variable declarations etc.). Original commit message from CVS: Patch by: Jens Granseuer * gst/equalizer/gstiirequalizer.c: * gst/equalizer/gstiirequalizer10bands.c: * gst/equalizer/gstiirequalizer3bands.c: * gst/equalizer/gstiirequalizernbands.c: * gst/rtpmanager/async_jitter_queue.c: (async_jitter_queue_push_sorted): * gst/rtpmanager/gstrtpjitterbuffer.c: (gst_rtp_jitter_buffer_chain): * gst/switch/gstswitch.c: (gst_switch_chain): Build fixes for gcc-2.9x (no mid-block variable declarations etc.). Fixes #450185. --- diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c index ff11c9e..1bb240e 100644 --- a/gst/equalizer/gstiirequalizer.c +++ b/gst/equalizer/gstiirequalizer.c @@ -53,7 +53,7 @@ static gboolean gst_iir_equalizer_setup (GstAudioFilter * filter, static GstFlowReturn gst_iir_equalizer_transform_ip (GstBaseTransform * btrans, GstBuffer * buf); -GST_DEBUG_CATEGORY_EXTERN ()(equalizer_debug); +GST_DEBUG_CATEGORY_EXTERN (equalizer_debug); #define GST_CAT_DEFAULT equalizer_debug #define ALLOWED_CAPS \ diff --git a/gst/equalizer/gstiirequalizer10bands.c b/gst/equalizer/gstiirequalizer10bands.c index 417f294..fb599d7 100644 --- a/gst/equalizer/gstiirequalizer10bands.c +++ b/gst/equalizer/gstiirequalizer10bands.c @@ -66,7 +66,7 @@ static void gst_iir_equalizer_10bands_set_property (GObject * object, static void gst_iir_equalizer_10bands_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -GST_DEBUG_CATEGORY_EXTERN ()(equalizer_debug); +GST_DEBUG_CATEGORY_EXTERN (equalizer_debug); #define GST_CAT_DEFAULT equalizer_debug GST_BOILERPLATE (GstIirEqualizer10Bands, gst_iir_equalizer_10bands, diff --git a/gst/equalizer/gstiirequalizer3bands.c b/gst/equalizer/gstiirequalizer3bands.c index aa9a98b..17e7b55 100644 --- a/gst/equalizer/gstiirequalizer3bands.c +++ b/gst/equalizer/gstiirequalizer3bands.c @@ -54,7 +54,7 @@ static void gst_iir_equalizer_3bands_set_property (GObject * object, static void gst_iir_equalizer_3bands_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -GST_DEBUG_CATEGORY_EXTERN ()(equalizer_debug); +GST_DEBUG_CATEGORY_EXTERN (equalizer_debug); #define GST_CAT_DEFAULT equalizer_debug GST_BOILERPLATE (GstIirEqualizer3Bands, gst_iir_equalizer_3bands, diff --git a/gst/equalizer/gstiirequalizernbands.c b/gst/equalizer/gstiirequalizernbands.c index c03ca01..788dded 100644 --- a/gst/equalizer/gstiirequalizernbands.c +++ b/gst/equalizer/gstiirequalizernbands.c @@ -53,7 +53,7 @@ static void gst_iir_equalizer_nbands_set_property (GObject * object, static void gst_iir_equalizer_nbands_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); -GST_DEBUG_CATEGORY_EXTERN ()(equalizer_debug); +GST_DEBUG_CATEGORY_EXTERN (equalizer_debug); #define GST_CAT_DEFAULT equalizer_debug GST_BOILERPLATE (GstIirEqualizerNBands, gst_iir_equalizer_nbands,