mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
Cảm ơn
This commit is contained in:
+5
-1
@@ -330,7 +330,11 @@ export class Mp3InputFormat extends InputFormat {
|
||||
|
||||
// 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:
|
||||
const secondResult = await readNextMp3FrameHeader(input._reader, currentPos, currentPos + MP3_FRAME_HEADER_SIZE);
|
||||
const secondResult = await readNextMp3FrameHeader(
|
||||
input._reader,
|
||||
currentPos,
|
||||
currentPos + MP3_FRAME_HEADER_SIZE,
|
||||
);
|
||||
if (!secondResult) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user