mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 10:53:50 +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() {
|
||||
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;
|
||||
return high * 0x100 + low;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user