summaryrefslogtreecommitdiff
path: root/gst/aiff
diff options
context:
space:
mode:
Diffstat (limited to 'gst/aiff')
-rw-r--r--gst/aiff/aiffparse.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/aiff/aiffparse.c b/gst/aiff/aiffparse.c
index 6bae23a60..78854ae74 100644
--- a/gst/aiff/aiffparse.c
+++ b/gst/aiff/aiffparse.c
@@ -1823,10 +1823,8 @@ gst_aiff_parse_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
}
if (aiff->state == AIFF_PARSE_DATA &&
aiff->segment.format == GST_FORMAT_TIME) {
- guint64 bps = aiff->bps;
-
/* operating in format TIME, so we can convert */
- if (bps) {
+ if (aiff->bps) {
if (start >= 0)
start =
gst_util_uint64_scale_ceil (start, GST_SECOND,