Reduce MP3 detection false positives

This commit is contained in:
Vanilagy
2025-07-11 10:07:45 +02:00
parent 9072a7a9f7
commit 514a533445
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ export class Mp3Reader {
assert(this.fileSize);
until ??= this.fileSize;
while (this.pos < until - FRAME_HEADER_SIZE) {
while (this.pos <= until - FRAME_HEADER_SIZE) {
const word = this.readU32();
this.pos -= 4;