mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-03 13:53:53 +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
|
// 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:
|
// 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) {
|
if (!secondResult) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user