Skip to content

Commit

Permalink
backport fix for bugs 1905, 2140.
Browse files Browse the repository at this point in the history
(from 2.0 branch commit 0ff9b7b8ba7b, 8ef083375857).
  • Loading branch information
sezero committed Oct 6, 2018
1 parent 5e267aa commit 5c25081
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions timidity/readmidi.c
Expand Up @@ -679,6 +679,8 @@ static MidiEvent *groom_list(int32 divisions,int32 *eventsp,int32 *samplesp)
compute_sample_increment(tempo, divisions);
skip_this_event=1;
}
else if (meep->event.channel >= MAXCHAN)
skip_this_event=1;
else if ((quietchannels & (1<<meep->event.channel)))
skip_this_event=1;
else switch (meep->event.type)
Expand Down

0 comments on commit 5c25081

Please sign in to comment.