Revert "Use the correct length for MIDI common messages."

This commit is contained in:
Alexandre Ratchov 2019-05-10 07:00:52 +02:00
parent efc963bb57
commit a1774cc9e0
1 changed files with 1 additions and 2 deletions

View File

@ -309,8 +309,7 @@ midi_in(struct midi *iep, unsigned char *idata, int icount)
iep->idx = 0;
} else if (c >= 0xf0) {
iep->msg[0] = c;
iep->len = common_len[c >> 5];
log_puti(iep->len);
iep->len = common_len[c & 7];
iep->st = c;
iep->idx = 1;
} else if (c >= 0x80) {