diff options
author | Jens Granseuer <jensgr@gmx.net> | 2007-01-03 16:41:10 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-01-03 16:41:10 +0000 |
commit | 9b1bffb45607c0cdfc80d1c856d331789789cd34 (patch) | |
tree | f1ffdcd24a18e07ee8d15bbfe4deabafd152cf61 /gst/filter/gstiir.c | |
parent | 2d4cbb090c60ed78e14c1a6e226c678570f4200a (diff) | |
download | gst-plugins-bad-9b1bffb45607c0cdfc80d1c856d331789789cd34.tar.gz gst-plugins-bad-9b1bffb45607c0cdfc80d1c856d331789789cd34.tar.bz2 gst-plugins-bad-9b1bffb45607c0cdfc80d1c856d331789789cd34.zip |
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 <jensgr at gmx net>
* 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.
Diffstat (limited to 'gst/filter/gstiir.c')
-rw-r--r-- | gst/filter/gstiir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/filter/gstiir.c b/gst/filter/gstiir.c index 45d217db..ab4dbd99 100644 --- a/gst/filter/gstiir.c +++ b/gst/filter/gstiir.c @@ -178,6 +178,9 @@ iir_transform_ip (GstBaseTransform * base, GstBuffer * outbuf) GstIIR *this = GST_IIR (base); GstClockTime timestamp; + gfloat *src; + int i; + /* don't process data in passthrough-mode */ if (gst_base_transform_is_passthrough (base)) return GST_FLOW_OK; @@ -188,9 +191,6 @@ iir_transform_ip (GstBaseTransform * base, GstBuffer * outbuf) if (GST_CLOCK_TIME_IS_VALID (timestamp)) gst_object_sync_values (G_OBJECT (this), timestamp); - gfloat *src; - int i; - src = (gfloat *) GST_BUFFER_DATA (outbuf); /* do an in-place edit */ |