From 4a9703b434de3d04b4fb523a8814b9eb2a8ca989 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Wed, 19 Aug 2015 17:42:49 +0100 Subject: [PATCH] dtsdec: remove unused value length is set to a different value before being read. Remove initial value. Silences compiler warning. --- ext/dts/gstdtsdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dts/gstdtsdec.c b/ext/dts/gstdtsdec.c index b7260861db..75199ccd5e 100644 --- a/ext/dts/gstdtsdec.c +++ b/ext/dts/gstdtsdec.c @@ -461,7 +461,7 @@ gst_dtsdec_handle_frame (GstAudioDecoder * bdec, GstBuffer * buffer) gsize size; GstMapInfo map; gint chans; - gint length = 0, flags, sample_rate, bit_rate, frame_length; + gint length, flags, sample_rate, bit_rate, frame_length; GstFlowReturn result = GST_FLOW_OK; GstBuffer *outbuf;