Commit a5737c17 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mp4: remove unused CreateUUID

parent dacc4cb7
......@@ -159,10 +159,7 @@ int MP4_PeekBoxHeader( stream_t *p_stream, MP4_Box_t *p_box )
/* get extented type on 16 bytes */
GetUUID( &p_box->i_uuid, p_peek );
}
else
{
CreateUUID( &p_box->i_uuid, p_box->i_type );
}
#ifdef MP4_ULTRA_VERBOSE
if( p_box->i_size )
{
......@@ -4108,9 +4105,6 @@ MP4_Box_t *MP4_BoxGetRoot( stream_t *p_stream )
if( i_size > 0 )
p_vroot->i_size = i_size;
/* could be a DASH stream for exemple, 0 means unknown or infinite size */
CreateUUID( &p_vroot->i_uuid, p_vroot->i_type );
/* First get the moov */
const uint32_t stoplist[] = { ATOM_moov, ATOM_mdat, 0 };
i_result = MP4_ReadBoxContainerChildren( p_stream, p_vroot, stoplist );
......
......@@ -1628,15 +1628,6 @@ static inline int CmpUUID( const UUID_t *u1, const UUID_t *u2 )
return memcmp( u1, u2, 16 );
}
static inline void CreateUUID( UUID_t *p_uuid, uint32_t i_fourcc )
{
/* made by 0xXXXXXXXX-0011-0010-8000-00aa00389b71
where XXXXXXXX is the fourcc */
/* FIXME implement this */
(void)p_uuid;
(void)i_fourcc;
}
static const UUID_t TfrfBoxUUID = {
{ 0xd4, 0x80, 0x7e, 0xf2, 0xca, 0x39, 0x46, 0x95,
0x8e, 0x54, 0x26, 0xcb, 0x9e, 0x46, 0xa7, 0x9f } };
......
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