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

Fix #101, make read_tags skip extra \0 bytes #102

Merged
merged 1 commit into from
Jun 26, 2021

Conversation

cHemingway
Copy link
Contributor

Some WAV files contain extra consecutive \0 bytes in RIFF INFO section, which causes issues if not skipped over properly. See #101 for details

Some WAV files contain extra consecutive \0 bytes in RIFF INFO section, which causes issues if not skipped over properly. See dancasimiro#101 for details
CMGeldenhuys added a commit to CMGeldenhuys/WAV.jl that referenced this pull request Jun 21, 2021
Some WAVE files are not just padded with \0 bytes (null terminators) but
arbitrary bytes. This causes the bug outlined in dancasimiro#101 & dancasimiro#102. Instead of
looking for consecutive \0 bytes read size from CHUNK and ignore
remainder of unused data.

See dancasimiro#101, dancasimiro#102
CMGeldenhuys added a commit to CMGeldenhuys/WAV.jl that referenced this pull request Jun 21, 2021
Some WAVE files are not just padded with \0 bytes (null terminators) but
arbitrary bytes. This causes the bug outlined in dancasimiro#101 & dancasimiro#102. Instead of
looking for consecutive \0 bytes read size from CHUNK and ignore
remainder of unused data.

See dancasimiro#101, dancasimiro#102
@dancasimiro dancasimiro merged commit 99f366a into dancasimiro:main Jun 26, 2021
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.

2 participants