mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 10:53:50 +02:00
Claude come on
This commit is contained in:
@@ -442,7 +442,7 @@ export class MpegTsDemuxer extends Demuxer {
|
||||
}
|
||||
|
||||
async readPacket(pos: number): Promise<PacketHeader | null> {
|
||||
let slice = this.reader.requestSlice(pos + this.packetOffset, TS_PACKET_SIZE);
|
||||
let slice = this.reader.requestSlice(pos, TS_PACKET_SIZE);
|
||||
if (slice instanceof Promise) slice = await slice;
|
||||
|
||||
if (!slice) {
|
||||
|
||||
Reference in New Issue
Block a user