From 29d6f1c69837ec86e61efb91764131892712901a Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Wed, 5 Dec 2018 10:35:33 +0100 Subject: [PATCH] typefind: Fix a maybe-uninitialized warning Arch Linux, GCC 8.2.1+20181127, CFLAGS='-Og -g3' --- gst/typefind/gsttypefindfunctions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 8d3b6fd455..24f54be877 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -4364,7 +4364,7 @@ ebml_parse_chunk (GstTypeFind * tf, DataScanCtx * ctx, guint32 chunk_id, { /* FIXME: make sure input size is clipped to 32 bit */ static const gchar SPACES[] = " "; DataScanCtx c = *ctx; - guint64 element_size; + guint64 element_size = 0; guint32 id, hdr_len; if (depth >= 8) /* keep SPACES large enough for depth */