mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
Bruh
This commit is contained in:
@@ -55,6 +55,7 @@ import {
|
||||
Rotation,
|
||||
roundIfAlmostInteger,
|
||||
roundToMultiple,
|
||||
toDataView,
|
||||
TRANSFER_CHARACTERISTICS_MAP_INVERSE,
|
||||
UNDETERMINED_LANGUAGE,
|
||||
} from '../misc';
|
||||
@@ -1507,7 +1508,7 @@ class MpegTsAudioTrackBacking extends MpegTsTrackBacking implements InputAudioTr
|
||||
}
|
||||
|
||||
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);
|
||||
|
||||
if (result.header) {
|
||||
|
||||
Reference in New Issue
Block a user