mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-03 13:53:53 +02:00
fix(id3v2reader): use correct header size in readU24
This commit is contained in:
+1
-1
@@ -488,7 +488,7 @@ export class Id3V2Reader {
|
|||||||
|
|
||||||
readU24() {
|
readU24() {
|
||||||
const high = this.view.getUint16(this.pos, false);
|
const high = this.view.getUint16(this.pos, false);
|
||||||
const low = this.view.getUint8(this.pos + 1);
|
const low = this.view.getUint8(this.pos + 2);
|
||||||
this.pos += 3;
|
this.pos += 3;
|
||||||
return high * 0x100 + low;
|
return high * 0x100 + low;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user