summaryrefslogtreecommitdiff
path: root/gst/typefind
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2018-12-05 10:35:33 +0100
committerSebastian Dröge <slomo@coaxion.net>2018-12-05 21:08:33 +0000
commit29d6f1c69837ec86e61efb91764131892712901a (patch)
treefeb7096220ecff0681eb63eb318f22014e288cd0 /gst/typefind
parentaa66658b50a0bd95ae7e2b97bc745027d5aba8cf (diff)
downloadgstreamer-plugins-base-29d6f1c69837ec86e61efb91764131892712901a.tar.gz
typefind: Fix a maybe-uninitialized warning
Arch Linux, GCC 8.2.1+20181127, CFLAGS='-Og -g3'
Diffstat (limited to 'gst/typefind')
-rw-r--r--gst/typefind/gsttypefindfunctions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
index 8d3b6fd45..24f54be87 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 */