mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-09 00:33:46 +02:00
Fix incorrect MP3 frame size calculation (fixes #140)
This commit is contained in:
+1
-1
@@ -289,7 +289,7 @@ export class Mp3InputFormat extends InputFormat {
|
||||
return true;
|
||||
}
|
||||
|
||||
currentPos = firstResult.startPos += firstResult.header.totalSize;
|
||||
currentPos = firstResult.startPos + firstResult.header.totalSize;
|
||||
|
||||
// Fine, we found one frame header, but we're still not entirely sure this is MP3. Let's check if we can find
|
||||
// another header right after it:
|
||||
|
||||
Reference in New Issue
Block a user