Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MP4: Fix parsing of plID atoms with incorrect codes #202

Merged
merged 2 commits into from
May 28, 2023
Merged

Conversation

Serial-ATA
Copy link
Owner

In the event that the plID atom has the wrong code (which seems to be the case quite often), we wouldn't populate the atom data properly. This would lead to a panic when converting to Tag.

This removes the code check entirely, since we can no longer trust that to be correct. We also now verify that there's something present.

closes #201

@Serial-ATA Serial-ATA merged commit e8bcb7d into main May 28, 2023
@Serial-ATA Serial-ATA deleted the mp4-plid-fix branch May 28, 2023 21:25
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.

Panic on empty MP4 AtomDataStorage::Multiple
1 participant