mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-01 12:53:49 +02:00
EncodedVideoSample/EncodedAudioSample -> EncodedPacket
This commit is contained in:
+2
-1
@@ -182,8 +182,9 @@ export const parseModesFromVorbisSetupPacket = (setupHeader: Uint8Array) => {
|
||||
}
|
||||
bs.skip(1);
|
||||
modeCount++;
|
||||
if (modeCount > 64)
|
||||
if (modeCount > 64) {
|
||||
break;
|
||||
}
|
||||
const bsClone = bs.clone();
|
||||
const candidate = bsClone.read(6) + 1;
|
||||
if (candidate === modeCount) {
|
||||
|
||||
Reference in New Issue
Block a user