27 lines
505 B
C++
27 lines
505 B
C++
#include "box_mfhd.h"
|
|
|
|
Box_mfhd::Box_mfhd( ) {
|
|
Container = new Box( 0x6D666864 );
|
|
SetDefaults( );
|
|
SetReserved( )
|
|
}
|
|
|
|
Box_mfhd::~Box_mfhd() {
|
|
delete Container;
|
|
}
|
|
|
|
Box * Box_mfhd::GetBox() {
|
|
return Container;
|
|
}
|
|
|
|
void Box_mfhd::SetDefaults( ) {
|
|
SetSequenceNumber( );
|
|
}
|
|
|
|
void Box_mfhd::SetDefaults( ) {
|
|
Container->SetPayload((uint32_t)4,Box::uint32_to_uint8(0));
|
|
}
|
|
|
|
void SetSequenceNumber( uint32_t SequenceNumber );
|
|
Container->SetPayload((uint32_t)4,Box::uint32_to_uint8(SequenceNumber),4);
|
|
}
|