Skip to content

MP4: Always update offsets - #715

Merged
Serial-ATA merged 1 commit into
mainfrom
mp4-corruption
Sep 13, 2026
Merged

Serial-ATA merged 1 commit into
mainfrom
mp4-corruption

Conversation

@Serial-ATA

Copy link
Copy Markdown
Owner

Previously, we were only updating offset atoms (e.g., moov.stco) when the ilst atom was already present. This corrupted files that had no prior udta/meta atoms.

Now, no matter what edits we make, the offset atoms are updated if needed.

closes #686

@Serial-ATA Serial-ATA added this to the 0.25.2 milestone Sep 13, 2026
Previously, we were only updating offset atoms (e.g., `moov.stco`) when the `ilst` atom was already present. This corrupted files that had no prior `udta`/`meta` atoms.

Now, no matter what edits we make, the offset atoms are updated if needed.
@Serial-ATA
Serial-ATA merged commit c1bb379 into main Sep 13, 2026
5 checks passed
@Serial-ATA
Serial-ATA deleted the mp4-corruption branch September 13, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mp4: Chunk offsets are not updated when the udta/meta atoms have to be created, corrupting faststart files

1 participant