Bijna klaar!
This commit is contained in:
parent
5ca7a72b86
commit
a3fd7a5a43
84 changed files with 879 additions and 969 deletions
29
util/MP4/box_smhd.cpp
Normal file
29
util/MP4/box_smhd.cpp
Normal file
|
@ -0,0 +1,29 @@
|
|||
#include "box.cpp"
|
||||
|
||||
class Box_smhd {
|
||||
public:
|
||||
Box_smhd( );
|
||||
~Box_smhd();
|
||||
Box * GetBox();
|
||||
private:
|
||||
Box * Container;
|
||||
void SetReserved( );
|
||||
};//Box_ftyp Class
|
||||
|
||||
Box_smhd::Box_smhd( ) {
|
||||
Container = new Box( 0x736D6864 );
|
||||
SetReserved();
|
||||
}
|
||||
|
||||
Box_smhd::~Box_smhd() {
|
||||
delete Container;
|
||||
}
|
||||
|
||||
Box * Box_smhd::GetBox() {
|
||||
return Container;
|
||||
}
|
||||
|
||||
void Box_smhd::SetReserved( ) {
|
||||
Container->SetPayload((uint32_t)4,Box::uint32_to_uint8(0),4);
|
||||
Container->SetPayload((uint32_t)4,Box::uint32_to_uint8(0));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue