From 82b6fff272c3fc50d0efc142a31fa7afba69e8d1 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Mon, 7 Oct 2013 22:51:46 +0200 Subject: [PATCH] discoverer: don't shadow local variables --- gst-libs/gst/pbutils/gstdiscoverer.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gst-libs/gst/pbutils/gstdiscoverer.c b/gst-libs/gst/pbutils/gstdiscoverer.c index bfb50cd7c8..90c318406a 100644 --- a/gst-libs/gst/pbutils/gstdiscoverer.c +++ b/gst-libs/gst/pbutils/gstdiscoverer.c @@ -1054,10 +1054,7 @@ parse_stream_topology (GstDiscoverer * dc, const GstStructure * topology, /* FIXME : aggregate with information from main streams */ GST_DEBUG ("Coudn't find 'next' ! might be the last entry"); } else { - GstCaps *caps; - const GstStructure *st; - - st = gst_value_get_structure (nval); + st = (GstStructure *) gst_value_get_structure (nval); GST_DEBUG ("next is a structure %" GST_PTR_FORMAT, st);