mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 02:43:48 +02:00
Relax audio track assert for esds box (fixes #481)
This commit is contained in:
@@ -1558,10 +1558,9 @@ export class IsobmffDemuxer extends Demuxer {
|
||||
|
||||
case 'esds': {
|
||||
const track = this.currentTrack;
|
||||
if (!track) {
|
||||
if (!track || track.info?.type !== 'audio') {
|
||||
break;
|
||||
}
|
||||
assert(track.info?.type === 'audio');
|
||||
|
||||
slice.skip(4); // Version + flags
|
||||
|
||||
|
||||
Reference in New Issue
Block a user