mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Some videos include zero length NAL units in the length-delimited MP4 samples. Empty NAL units are not spec-compliant (see ISO/IEC 14496-15 section 4.3.3.3), but other players are able to play these videos (with warnings or errors). With this change, we check track.sampleTable.sizes[sampleIndex] before reading a byte from the NAL unit itself. PiperOrigin-RevId: 711720621 |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| proguard-rules.txt | ||
| README.md | ||