From 5e04fcd2efa9bca59a48470ba29cf54cdff58f74 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 20 Dec 2012 16:41:48 +0100 Subject: [PATCH] audiobasesrc: init variable We need to initialize this variable because we can't be sure that the subclass will set it. --- gst-libs/gst/audio/gstaudiobasesrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/audio/gstaudiobasesrc.c b/gst-libs/gst/audio/gstaudiobasesrc.c index 820e0f9c0f..66bade45f8 100644 --- a/gst-libs/gst/audio/gstaudiobasesrc.c +++ b/gst-libs/gst/audio/gstaudiobasesrc.c @@ -815,7 +815,7 @@ gst_audio_base_src_create (GstBaseSrc * bsrc, guint64 offset, guint length, ptr = info.data; first = TRUE; do { - GstClockTime tmp_ts; + GstClockTime tmp_ts = GST_CLOCK_TIME_NONE; read = gst_audio_ring_buffer_read (ringbuffer, sample, ptr, samples, &tmp_ts);