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

MIDI import: Reset the seek pointer after parsing magic bytes. #4503

Closed
wants to merge 1 commit into from

Conversation

irrenhaus3
Copy link
Contributor

Fixes a silent bug that prevented any and all SMF midi import due to the Alg_midifile_reader's parse() function erroneously reading bytes 4 to 7 instead of 0 to 3.

Fixes a silent bug that prevented any and all SMF midi import due to the Alg_midifile_reader's parse() function erroneously reading bytes 4 to 7 instead of 0 to 3.
@PhysSong
Copy link
Member

It seems like a regression in #4401 and thus this pull request should target to stable-1.2.

@PhysSong
Copy link
Member

PhysSong commented Jul 27, 2018

I'll add the seek function into readAllData instead. I should have tested properly when fixing the encoding issue.
@irrenhaus3 Anyway, thank you for reporting!

@PhysSong PhysSong closed this Jul 27, 2018
@PhysSong
Copy link
Member

Fixed via 112d342.

@irrenhaus3 irrenhaus3 deleted the midi-import-fix branch July 27, 2018 06:55
@irrenhaus3
Copy link
Contributor Author

Very nice, thank you for your time.

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