mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-28 15:02:00 +00:00
parent
cf1975e35f
commit
174d8551b9
1 changed files with 1 additions and 1 deletions
|
@ -1886,7 +1886,7 @@ fluid_midi_parser_parse(fluid_midi_parser_t *parser, unsigned char c)
|
|||
parser->data[parser->nr_bytes++] = c;
|
||||
|
||||
/* Do we still need more data to get this event complete? */
|
||||
if (parser->nr_bytes < parser->nr_bytes_total)
|
||||
if (parser->status == MIDI_SYSEX || parser->nr_bytes < parser->nr_bytes_total)
|
||||
return NULL;
|
||||
|
||||
/* Event is complete, return it.
|
||||
|
|
Loading…
Reference in a new issue