typefind: Fix a maybe-uninitialized warning
Arch Linux, GCC 8.2.1+20181127, CFLAGS='-Og -g3'
This commit is contained in:
parent
aa66658b50
commit
29d6f1c698
@ -4364,7 +4364,7 @@ ebml_parse_chunk (GstTypeFind * tf, DataScanCtx * ctx, guint32 chunk_id,
|
|||||||
{ /* FIXME: make sure input size is clipped to 32 bit */
|
{ /* FIXME: make sure input size is clipped to 32 bit */
|
||||||
static const gchar SPACES[] = " ";
|
static const gchar SPACES[] = " ";
|
||||||
DataScanCtx c = *ctx;
|
DataScanCtx c = *ctx;
|
||||||
guint64 element_size;
|
guint64 element_size = 0;
|
||||||
guint32 id, hdr_len;
|
guint32 id, hdr_len;
|
||||||
|
|
||||||
if (depth >= 8) /* keep SPACES large enough for depth */
|
if (depth >= 8) /* keep SPACES large enough for depth */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user