MPEG-4 part 12 section 8.8.8 states that a traf box may contain multiple trun boxes. This patch allows parsing such files correctly. Previously, the library would only parse the last trun box for each traf box, which caused the tracks to be unplayable.
MPEG-4 part 12 section 8.8.8 states that a
traf
box may contain multipletrun
boxes. This patch allows parsing such files correctly. Previously, the library would only parse the lasttrun
box for eachtraf
box, which caused the tracks to be unplayable.