Some MP4 files use a 64 bit length which and the current implementation takes the 64 bit sentinel (size=1) to mean "maximum size". It seems that some devices (I think this includes iPhone) place an mdat with a 64 bit length (even though not needed) head of the moov. This change allows the parser to find the moov.
Some MP4 files use a 64 bit length which and the current implementation takes the 64 bit sentinel (size=1) to mean "maximum size". It seems that some devices (I think this includes iPhone) place an
mdat
with a 64 bit length (even though not needed) head of themoov
. This change allows the parser to find themoov
.