We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Borewit
Learn more about funding links in repositories.
Report abuse
1 parent de687b2 commit 79da8f4Copy full SHA for 79da8f4
lib/mp4/MP4Parser.ts
@@ -134,7 +134,7 @@ export class MP4Parser extends BasicParser {
134
135
private static read_BE_Integer(array: Uint8Array, signed: boolean): number {
136
const integerType = (signed ? 'INT' : 'UINT') + array.length * 8 + (array.length > 1 ? '_BE' : '');
137
- const token: IGetToken<number | BigInt> = Token[integerType];
+ const token: IGetToken<number | bigint> = Token[integerType];
138
if (!token) {
139
throw new Error('Token for integer type not found: "' + integerType + '"');
140
}
0 commit comments