Commit 5e8fb7c2 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: asf: add fake root guid for debugging

parent b82bc834
......@@ -1517,6 +1517,7 @@ static const struct
const char *psz_name;
} ASF_ObjectDumpDebugInfo[] =
{
{ &vlc_object_root_guid, "Root" },
{ &asf_object_header_guid, "Header" },
{ &asf_object_data_guid, "Data" },
{ &asf_object_index_guid, "Index" },
......@@ -1607,7 +1608,7 @@ asf_object_root_t *ASF_ReadObjectRoot( stream_t *s, int b_seekable )
return NULL;
p_root->i_type = ASF_OBJECT_ROOT;
memcpy( &p_root->i_object_id, &asf_object_null_guid, sizeof( guid_t ) );
memcpy( &p_root->i_object_id, &vlc_object_root_guid, sizeof( guid_t ) );
p_root->i_object_pos = stream_Tell( s );
p_root->i_object_size = 0;
p_root->p_first = NULL;
......
......@@ -62,6 +62,14 @@ static const guid_t asf_object_null_guid =
{ 0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00 }
};
static const guid_t vlc_object_root_guid =
{
0x00000000,
0x0000,
0x0000,
{ 0x56, 0x4C, 0x43, 0x52, 0x4F, 0x4F, 0x54, 0x00 }
};
/* Top-Level object */
static const guid_t asf_object_header_guid =
{0x75B22630, 0x668E, 0x11CF, {0xA6, 0xD9, 0x00, 0xAA, 0x00, 0x62, 0xCE, 0x6C}};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment