Commit d4e35358 by Oliver Woodman

Fix bad assertion. It doesn't hold for TTML subtitle chunks.

parent 6e9ba9ba
...@@ -96,7 +96,7 @@ public final class Mp4MediaChunk extends MediaChunk { ...@@ -96,7 +96,7 @@ public final class Mp4MediaChunk extends MediaChunk {
prepared = true; prepared = true;
} }
if (prepared) { if (prepared) {
mediaFormat = Assertions.checkNotNull(extractor.getFormat()); mediaFormat = extractor.getFormat();
psshInfo = extractor.getPsshInfo(); psshInfo = extractor.getPsshInfo();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment