From d95b607e230c87c8e3994ca249d2c519c351b38b Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Thu, 22 Oct 2009 09:06:02 -0300 Subject: [PATCH] audiorate: Removing unused variable The in_stop variable was never read. Removing it. --- gst/audiorate/gstaudiorate.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/audiorate/gstaudiorate.c b/gst/audiorate/gstaudiorate.c index d3c0bbe6e7..cf28dad1da 100644 --- a/gst/audiorate/gstaudiorate.c +++ b/gst/audiorate/gstaudiorate.c @@ -475,7 +475,7 @@ static GstFlowReturn gst_audio_rate_chain (GstPad * pad, GstBuffer * buf) { GstAudioRate *audiorate; - GstClockTime in_time, in_duration, in_stop, run_time; + GstClockTime in_time, in_duration, run_time; guint64 in_offset, in_offset_end, in_samples; guint in_size; GstFlowReturn ret = GST_FLOW_OK; @@ -522,7 +522,6 @@ gst_audio_rate_chain (GstPad * pad, GstBuffer * buf) /* get duration from the size because we can and it's more accurate */ in_duration = gst_util_uint64_scale_int_round (in_samples, GST_SECOND, audiorate->rate); - in_stop = in_time + in_duration; /* Figure out the total accumulated segment time. */ run_time = in_time + audiorate->src_segment.accum;