mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Fix MP4 parser issue in reading length of URL array from esds boxes.
As per MP4 spec, the length of URL array is a 8 bit number. #minor-release PiperOrigin-RevId: 458421436
This commit is contained in:
parent
c0359cad92
commit
42f13c331f
1 changed files with 1 additions and 1 deletions
|
|
@ -1659,7 +1659,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
|
|||
parent.skipBytes(2);
|
||||
}
|
||||
if ((flags & 0x40 /* URL_Flag */) != 0) {
|
||||
parent.skipBytes(parent.readUnsignedShort());
|
||||
parent.skipBytes(parent.readUnsignedByte());
|
||||
}
|
||||
if ((flags & 0x20 /* OCRstreamFlag */) != 0) {
|
||||
parent.skipBytes(2);
|
||||
|
|
|
|||
Loading…
Reference in a new issue