From aa38385cae3935c4465f613b9f3477401636e925 Mon Sep 17 00:00:00 2001 From: Sturlen <43607012+Sturlen@users.noreply.github.com> Date: Thu, 14 May 2026 13:54:51 +0200 Subject: [PATCH] fix(id3v2reader): use correct header size in readU24 --- src/id3.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/id3.ts b/src/id3.ts index 19a1e60..e1cb6e4 100644 --- a/src/id3.ts +++ b/src/id3.ts @@ -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; }