mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-03 05:43:50 +02:00
Bruh
This commit is contained in:
@@ -55,6 +55,7 @@ import {
|
|||||||
Rotation,
|
Rotation,
|
||||||
roundIfAlmostInteger,
|
roundIfAlmostInteger,
|
||||||
roundToMultiple,
|
roundToMultiple,
|
||||||
|
toDataView,
|
||||||
TRANSFER_CHARACTERISTICS_MAP_INVERSE,
|
TRANSFER_CHARACTERISTICS_MAP_INVERSE,
|
||||||
UNDETERMINED_LANGUAGE,
|
UNDETERMINED_LANGUAGE,
|
||||||
} from '../misc';
|
} from '../misc';
|
||||||
@@ -1507,7 +1508,7 @@ class MpegTsAudioTrackBacking extends MpegTsTrackBacking implements InputAudioTr
|
|||||||
}
|
}
|
||||||
|
|
||||||
const headerBytes = context.readBytes(MP3_FRAME_HEADER_SIZE);
|
const headerBytes = context.readBytes(MP3_FRAME_HEADER_SIZE);
|
||||||
const word = readU32Be(FileSlice.tempFromBytes(headerBytes));
|
const word = toDataView(headerBytes).getUint32(0);
|
||||||
const result = readMp3FrameHeader(word, null);
|
const result = readMp3FrameHeader(word, null);
|
||||||
|
|
||||||
if (result.header) {
|
if (result.header) {
|
||||||
|
|||||||
Reference in New Issue
Block a user