mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue