import "41.neocities.org/sofia/stsd"
type Box struct { BoxHeader sofia.BoxHeader FullBoxHeader sofia.FullBoxHeader EntryCount uint32 Box []sofia.Box AudioSample *enca.SampleEntry VisualSample *encv.SampleEntry }
ISO/IEC 14496-12
aligned(8) class SampleDescriptionBox() extends FullBox('stsd', version, 0) { int i ; unsigned int(32) entry_count; for (i = 1 ; i <= entry_count ; i++){ SampleEntry(); // an instance of a class derived from SampleEntry } }
func (b *Box) SampleEntry() (*sofia.SampleEntry, bool)