/*---------------------------------------------------------------------- | AP4_IpmpDescriptor::SetData +---------------------------------------------------------------------*/ void AP4_IpmpDescriptor::SetData(const unsigned char* data, AP4_Size data_size) { m_Data.SetData(data, data_size); m_PayloadSize += data_size; m_HeaderSize = MinHeaderSize(m_PayloadSize); }
/*---------------------------------------------------------------------- | AP4_DecoderSpecificInfoDescriptor::AP4_DecoderSpecificInfoDescriptor +---------------------------------------------------------------------*/ AP4_DecoderSpecificInfoDescriptor::AP4_DecoderSpecificInfoDescriptor( const AP4_DataBuffer& data) : AP4_Descriptor(AP4_DESCRIPTOR_TAG_DECODER_SPECIFIC_INFO, MinHeaderSize(data.GetDataSize()), data.GetDataSize()), m_Info(data) { }