#include "box.h" #include #include struct stsc_record { uint32_t FirstChunk; uint32_t SamplesPerChunk; uint32_t SampleDescIndex; };//stsc_record class Box_stsc { public: Box_stsc( ); ~Box_stsc(); Box * GetBox(); void SetReserved( ); void AddEntry( uint32_t FirstChunk, uint32_t SamplesPerChunk, uint32_t SampleDescIndex, uint32_t Offset = 0 ); private: Box * Container; void WriteEntries( ); std::vector Entries; };//Box_ftyp Class