diff --git a/packages/griffith-mp4/src/mp4/mp4Box.js b/packages/griffith-mp4/src/mp4/mp4Box.js index bafe9ad7..f2f2482f 100644 --- a/packages/griffith-mp4/src/mp4/mp4Box.js +++ b/packages/griffith-mp4/src/mp4/mp4Box.js @@ -59,7 +59,7 @@ export default class MP4Box { Box.readType(stream) Box.readBody(stream) - if (Box.type === 'trak') { + if (Box.type === 'trak' && Box.box.mdia) { const handlerType = Box.box.mdia.hdlr.handlerType if (handlerType === 'vide') { this.box.videoTrak = Box.box