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 conversion of u16 track/disc numbers to BE bytes #341

Merged
merged 3 commits into from
Jan 13, 2024

Conversation

uklotzde
Copy link
Contributor

A cast was missing.

I also changed the default value to 0 consistently for both current/total numbers and consider 0 as invalid/missing.

All these setters/getters are obviously untested.

@Serial-ATA Serial-ATA merged commit be63601 into Serial-ATA:main Jan 13, 2024
12 checks passed
@uklotzde uklotzde deleted the mp4-int-pair branch January 14, 2024 09:47
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.

None yet

2 participants