mistserver/MP4/box_hdlr.cpp
Erik Zandvliet 32d8f8b6f5 More boxes
2011-01-12 15:09:49 +01:00

20 lines
315 B
C++

#include "box_hdlr.h"
Box_hdlr::Box_hdlr( ) {
Container = new Box( 0x68646C72 );
SetDefaults();
SetReserved();
}
Box_hdlr::~Box_hdlr() {
delete Container;
}
Box * Box_hdlr::GetBox() {
return Container;
}
void Box_hdlr::SetReserved( ) {
Container->SetPayload((uint32_t)4,Box::uint32_to_uint8(1));
}