mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
Fix an impossible NULL deref
This commit is contained in:
parent
7ff98227c6
commit
ec74ed905b
1 changed files with 1 additions and 1 deletions
|
@ -1605,7 +1605,7 @@ fluid_track_send_events(fluid_track_t *track,
|
|||
}
|
||||
}
|
||||
|
||||
if(event->type == MIDI_SET_TEMPO)
|
||||
if(event->type == MIDI_SET_TEMPO && player != NULL)
|
||||
{
|
||||
fluid_player_set_midi_tempo(player, event->param1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue