Commit fc6df15
committed
Support variable length
For `sgpd` boxes with version >= 1, `the default_length` field is zero if the
length of the following sample group entries is variable.
Since the `FragmentedMp4Extractor` only supports one entry, skip the
`description_length` field if applicable (e.g. when version >= 1 and
`default_length` == 0), instead of throwing an error.
For parsing the following CencSampleEncryptionInformationGroupEntry, this should
make no difference.
Issue: #3177sgpd boxes in fMPEG1 parent 7ce3aa2 commit fc6df15
1 file changed
Lines changed: 5 additions & 6 deletions
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1477 | 1477 | | |
1478 | 1478 | | |
1479 | 1479 | | |
1480 | | - | |
1481 | | - | |
1482 | | - | |
1483 | | - | |
1484 | | - | |
1485 | | - | |
| 1480 | + | |
| 1481 | + | |
1486 | 1482 | | |
1487 | 1483 | | |
1488 | 1484 | | |
1489 | 1485 | | |
1490 | 1486 | | |
1491 | 1487 | | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
1492 | 1491 | | |
1493 | 1492 | | |
1494 | 1493 | | |
| |||
0 commit comments