summaryrefslogtreecommitdiffstats
path: root/gst/filter/gstiir.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/filter/gstiir.c')
-rw-r--r--gst/filter/gstiir.c6
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 */