Merge pull request #10 from earlephilhower/master

Fix MIDI meta length parsing for >127 byte entries
pull/11/head
Len Shustek 7 years ago committed by GitHub
commit 5e7791bc68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      miditones.c

@ -838,7 +838,7 @@ void find_note (int tracknum) {
}
if (event == 0xff) { /* meta-event */
meta_cmd = *t->trkptr++;
meta_length = *t->trkptr++;
meta_length = get_varlen (&t->trkptr);
switch (meta_cmd) {
case 0x00:
if (logparse)

Loading…
Cancel
Save