typefind: Fix a maybe-uninitialized warning

Arch Linux, GCC 8.2.1+20181127, CFLAGS='-Og -g3'
This commit is contained in:
Jan Alexander Steffens (heftig) 2018-12-05 10:35:33 +01:00 committed by Sebastian Dröge
parent aa66658b50
commit 29d6f1c698

View file

@ -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 */