Skip to content

Commit

Permalink
Merge pull request #4893 from remotion-dev/media-parser-support-trun-1
Browse files Browse the repository at this point in the history
`@remotion/media-parser`: Support TRUN version 1
  • Loading branch information
JonnyBurger authored Feb 15, 2025
2 parents 4902efa + 374bc1e commit 021daec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const parseTrun = ({
size: number;
}): TrunBox => {
const version = iterator.getUint8();
if (version !== 0) {
if (version !== 0 && version !== 1) {
throw new Error(`Unsupported TRUN version ${version}`);
}

Expand Down

0 comments on commit 021daec

Please sign in to comment.